%SYS>w $listvalid($lb("test"))
1
%SYS>w $listvalid("test")
0
%SYS>w $listvalid("")
1$listbuild is not an object, so, it's not a check as an instance of, it is only possible that variable is valid as $listbuild
$listbuild as just a string with a special format, so, that's why this will also return true
%SYS>w $listvalid($char(1)) 1 %SYS>write $lb()=$c(1) 1
because
%SYS>zzdump $lb() 0000: 01 .
- Log in to post comments
.png)
.png)
.png)