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 | ISARRAY

Edit History

ISARRAY

b = ISARRAY (x)

Home > Reference > Data

Returns true if x is an array.

Example

A = [1,2,3]
print IsArray(A)    ' Output 1

A = {"x":1, "y":2}
print IsArray(A)    ' Output 0 (is a map)

A = 1
print IsArray(A)    ' Output 0 (is a number)

A = "abc"
print IsArray(A)    ' Output 0 (is a string)
Code samples using ISARRAY
2048.bas   base64.bas   duckduckgo.bas   klotski_solver.bas   TinyBASIC.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 Wed, 19 Apr 2023 16:25:56 +0200 | 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.