
Purpose
Κ
To return the largest integer that is less than or equal to the
giver numeric expression.
Syntax
Κ
A% = INT(N%) or A% = INT(N!)
Example
Κ
A% = INT(9.86)
PRINT A%
B% = INT(-5.68)
PRINT B%
Description
Κ
A%
is an integer variable to be assigned to the result.
N% or N!
is a numeric expression,it can be an integer or a
real number.
Purpose
Κ
To insert explanatory remarks in a program.
Syntax
Κ
REM remark or 'remark
Example
Κ
REM This is function
' This is BASIC program
Description
Κ
remark
may be any sequence of characters. BASIC
interpreter will ignore whatever follows the REM or ‘ until
end of the line’.
Purpose
Κ
To set the precision of the decimal points for printing real
number expression.
Syntax
Κ
SET_PRECISION(N%)
Example
Κ
A! = 3.141592654
SET_PRECISION(6)
PRINT "A = ", A! ' A = 3.141593
Description
Κ
N%
is a numeric expression in the rang of 0 to 6.
The precision default setting is two digits.
T P C 7 0 3 0
Programming Manual Ver. 1.00
17/131