EMPTY
EMPTY (x)
Returns true if x is
- a zero length array
- an empty string
- a number with the value 0.
Example
""
s =
a = []dim b
0
i =
if(empty(s)) then print "s is empty"
if(empty(a)) then print "a is empty"
if(empty(b)) then print "b is empty"
if(empty(i)) then print "i is empty"
Code samples using EMPTY
2048.bas
2048.bas
7gables.bas
agendus.bas
anomail.bas
checkers.bas
checkers.bas
chess.bas
chess.bas
CSV_Viewer.bas
filemanager.bas
g2 Life.bas
g3 Life.bas
hanoi.bas
klotski.bas
klotski.bas
klotski_puzzle.bas
klotski_solver.bas
klotski_solver.bas
memorytest.bas
memoryTest.bas
palm_cli.bas
pdocview.bas
pirate.bas
radish.bas
rogue trader.bas
slide sq w mouse.bas
sliding blocks puzzle.bas
sliding blocks.bas