Dear all,
To reproduce,
function void testfun2 (scalar x,
int n[1::1],
list z[null],
string ss[null])
isn = exists(n)
print isn
lss = strlen(ss)
print lss
isz = exists(z)
print isz
iss = exists(ss)
print iss
end function
testfun2(1)
string sss = null
eval exists(sss)
eval strlen(sss)
So, the behavior of exists() with strings
seems to be different inside and outside
of functions
Oleh
P.S. Please inform me about formatting