Hello,

 

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

 

 

#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 "\\"

\