Hi,
not sure why the following fails, given the documentation of 'argname':
<hansl>
function void ch(matrix m[null], string s[null])
if exists(m)
eval argname(m)
elif exists(s)
eval argname(s)
endif
end function
string s_in = "hey"
ch(, s_in) # error, expect "s_in"
ch(, "hey") # expect "" (anonymous), got error (once we get here)
</hansl>
This is with April 25's snapshot on Windows.
thanks
sven