GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | EMPTY

Edit History

EMPTY

EMPTY (x)

Home > Reference > Data

Returns true if x is

  • a zero length array
  • an empty string
  • a number with the value 0.

Example

s = ""
a = []
dim b
i = 0

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   7gables.bas   agendus.bas   anomail.bas   checkers.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   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   sokoban.bas   sokoban.bas   sokoban.bas   sudoku.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  
This page was last edited on Mon, 27 Feb 2023 11:17:16 +0100 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.