SmallBASIC syntax groups: 

Data command EMPTY

20  EMPTY (x)
Returns true if x is: a zero length array, an empty string, an integer or real with the value 0.

See examples

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 an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

  • If x is a string, returns true if the len(x) is 0.
  • If x is an integer or a real returns true if the x = 0.
  • If x is an array, returns true if x is a zero-length array (array without elements).