Epson FX Series User Manual page 5

Fx series printer
Hide thumbs Also See for FX Series:
Table of Contents

Advertisement

This format allows you to shorten a program line by combining a
command and its print string. In the case of Double-Strike, for in-
stance, the quoted letter "G" turns the mode on and "H" turns it off. To
see how combining the code with a print string works, compare:
10 LPRINT CHR$(27)"G";"DOUBLE-STRIKE PRINT"
with:
10 LPRINT CHR$(27)"GDOUBLE-STRIKE PRINT"
The second program line may look peculiar, but it gives the same
output that the first version does. The G is not printed on the paper;
instead, it is interpreted by the printer as part of the ESCape sequence.
In long programs with DATA statements or subroutines, we use
END after the line that is executed last, but older BASIC systems re-
quire the use of STOP at such points. If yours is one of these, you
should change our END
When the presence of one or more blank spaces in a program line is
especially important, we use a special
'blank') to represent the spaces. This makes it easier for you to count
the number you need. For example, the following:
means that you should type in one blank space for each
"
The use of the
needed between the quotation mark and the beginning of the first
word. The
needed immediately before or after a quotation mark. For example,
the following makes clear that you must type one space between the
quotation mark and the word "and':
LPRINT " AND EASY TO TURN OFF"
When we include a programming REMark in a program line, it is
always preceded by an apostrophe ('), the short form of the BASIC
command, REM. For example, we use:
10 LPRINT CHR$(27)"@"
and
99
' Data lines for graphics
to STOP
S
SAMPLE STRING"
SAMPLE STRING"
symbol makes it easy for you to count the eight spaces
also calls your attention to single blank spaces that are
.
S
character
' Reset Code
( , pronounced
V

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

Fx-100Fx-80Fx-185 - impact printer

Table of Contents