request for change of boolean
- Posted by Kat <kat12 at ?oosahs?net> Dec 06, 2007
- 899 views
Is it possible to change how boolean expressions are evaluated such that only values greater than 0 pass this test? :
readfile = open(flagfilename,"r") if readfile then -- it's there, process it end if
Currently, if readfile = -1 , it evaluates to TRUE, when in fact the readfile was not opened. Kat