NEC PC-8000 Series User Manual page 31

Table of Contents

Advertisement

Example:
lee LPRINT CHR
'
(&HIB);CHR1(&HS3J;"eeli",
t t.
LPRIHT
STRING
1
~,&HFF);STRING
1
(S,&HI);
When the
above statement
is
executed,
the printer
prints
as follows:
LSD
'----...
.
. . .
.
Note:
When graphic data
x
is to be transferred
using
the statement
LPRlNT
CHR$(x)
in
the
dot-image graphics printing mode, it
is re-
commended
that
the
data be
sent
using
the
following
subroutine since other codes
may
be output
under the
code (&H9) of the
NBASIC
interpreter and
since an automatic
line feed
occurs
when more than
a specified
number
of characters are
sent.
lee
'
putchU'
118 OUT
&HII,C:
OUT
&H48,I:
OUT &H4t,1
121 A-IKP(&H4IJANDI
:
IF A.I THEN RETURN ELSE 121
The
above subroutine
is
called
using
the
following
statement:
(The
value of x is output as a code.)
-20-
.,
I
I
I
I

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pc-8023a-c

Table of Contents