I'm trying to find a command which can give me NIL as a result.
So far I have found:
Code: Select all
rawGet()
I would like to get a NIL instead of 0 from something like this:
Code: Select all
(6<0)
I want to replace some IFs (a lot) with just comparison to speed up things - unfortunately the result I need is: NIL or something else (that something else means: 1, 1000, "string" or even 0)
example IF to be replaced (if condition is met , the variable "r" is set to something otherwise it is NIL (not 0))
Code: Select all
IF a>0 AND NOT RAWGET(t,0) THEN r=1