Dear all,To reproduce
<hansl
function void testfun (scalar x, int n[1::1],list z[null], string s[null])
isn = exists(n)
print isn
isz = exists(z)
print isz
iss = exists(s)
print iss
end function
nulldata 1
series z1 = 1
series z2 = 2
list zz = z1 z2
testfun(1)
testfun(1,1)
testfun(1,1,z1)
testfun(1,1,zz)
testfun(1,1,zz,"a")
hansl>
The behavior of exists() with strings is different.
The more, there's difference across data types
but not across the situations.
Is this a bug or I missed something from the help?
Oleh