On Thu, 3 Jul 2014, Logan Kelly wrote:
I have found a possible issue with sprintf(). In the following
script should not section 1 and 2 yield similar printed output?
But note that bslash is empty after section 1 (output included).
Is this the intended behavior? OS = Win 7 64bit and gretl =
1.9.91cvs
What's the date of your gretl build? I'm not seeing a problem here
with current CVS (and I did work a bit on sprintf fairly recently).
Allin
#1
sprintf bslash "\\"
print bslash
#2
printf "\\"
Output:
gretl version 1.9.91cvs
Current session: 2014-07-03 17:35
#1
? sprintf bslash "\\"
? print bslash
#2
? printf "\\"
\