Hi everybody,
I noticed this little thing
<hansl>
clear
set verbose off
function scalar increment(scalar *n)
n += 1
return n
end function
n = 0
print "printf:"
printf("%d\n", increment(&n))
print "eval:"
eval increment(&n)
print "print:"
print increment(&n)
</hansl>
<output>
printf:
1
eval:
2
print:
4
</output>
As you can see, seem like that "print" command calls the function twice.
Is it something wanted?
Federico