Skip to main content

Variables

Description

  Variables are values which can be manipulated. They are referenced using names composed of letters, numbers, and character "_". These reference names cannot contain most other symbols because such symbols are part of the ARMbasic programming language. They also cannot contain spaces.      32-bit signed whole-number data type. Can hold values from -2147483648 to 2147483647.      Variables are declared automatically on first use.  A DIM statement is not required or allowed.

Example

FirstNumber = 1

SecondNumber = 2

PRINT FirstNumber, SecondNumber, ThirdNumber 'This will print 1 2 0

Differences from other BASICs

 

  • similar to Visual BASIC
  • different syntac in PBASIC

See also