EasyManua.ls Logo

Husky Hunter - Page 280

Husky Hunter
499 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC FUNCTIONS
SECTION 5. 17
PRINT
5.17.11 Function PRIIIT displays data on the LCD screen.
Syntax
PRINI' expressions[;]
or
? expressions
The question mark is exactly equivalent
to PRINI'
Example PRINI' X,Y ,Z$
Prints the values of the three variables
X,Y, and Z$ in
columns 1, 14, and 28 and finishes with CR/LF. A PRINT
statement with no expressions just performs the CR/LF
functions.
Remarks The comma between the expressions move the print cursor to
the next zone, where each zone is fourteen spaces wide.
The use of semi-colons causes the values to be printed
together without gaps. However, numerical data leaves a
space at the start for the minus sign, and includes one
blank space afterwards. A semi-colon at the end of the
line suppresses the CR/LF.
VER.V09F
Examples:
PRINI'
1
'FOOT
11
+ "BALL"
or
PRINI' X;
11
SQUARED IS";
PRINI' X*X
or
outputs FOOTBALL
outputs,
if X=2
2 SQUARED IS 4
IF A<2 THEN PRINI' "A=";A outputs, if A=1
A=1
or
PRINI' CHR$( 1 ) ;
will clear the LCD display.
PAGE 5 - 111