
2
Program Structure
2.1
Constants
Constants are the actual values used or generated in the program. There
are two types of constants:
2.1.1
String
A string constant is a sequence of up to 255 alphanumeric
characters or symbols enclosed in a pair of double quotation
marks.
Æ
"BASIC"
Æ
"2007.05.13"
Æ
"ArgoBasic program guide"
Æ
"168 IbB … …"
Æ
"IbB 168 … …!"
2.1.2
Numeric
Numeric constants include positive and negative numbers.
Numeric constants in BASIC cannot contain commas. There are
two types of numeric constants that can be used in the
TPC7030
interpreter.
Integer constants: – 2147483648 ~ + 2147483647
Real number constants: Positive or negative real number, that
contain a decimal point, such as 1.23
or –3.5897
2.2
Variables
Variable are symbols used to represent data items, such as numerical
values or character strings that are used in BASIC program. The value of a
variable may be assigned explicitly and can be changed during the
execution of the program. Value of a variable is assumed to be undefined
until a value is assigned to it.
T P C 7 0 3 0
Programming Manual Ver. 1.00
9/131