#print typeof(sht) ''error and a type is printed
#if TypeOf(sht) = TypeOf(Integer) ''no error
#print "I'm an integer even if I don't exist"
#else
#print "I don't exist"
#endif
hello SARG
it works as expected with the latest Git repo, the first line gives the expected error, if commented-out then it just prints "I don't exist", it doesn't print INTEGER here
srvaldez wrote: ↑Jun 23, 2022 13:21
hello SARG
it works as expected with the latest Git repo, the first line gives the expected error, if commented-out then it just prints "I don't exist", it doesn't print INTEGER here
Hi srvaldez
First line there is an error but not with #if and there is also the INTEGER printed.
In my opinion it should not work like that.
@fxm
#print should be discarded instead output something wrong as no information is available