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
Data
APPEND
ARRAY
DATA
DELETE
DIM
EMPTY
ERASE
INSERT
ISARRAY
ISDIR
ISFILE
ISLINK
ISMAP
ISNUMBER
ISSTRING
LBOUND
LEN
READ
REDIM
RESTORE
SEARCH
SORT
SWAP
UBOUND
If there is insufficient information on this page and you wish learn more about EMPTY,
please send an email to smallbasic@gmail.com. You can help to improve information about
EMPTY by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.