Download Print this page

Star Micronics 10X User Manual page 85

Advertisement

• •
• •
• •
• •
I
• •
• •
• •
• •
• •
• •
Putting Gemini
to
WOlk
420 I=O:LOCATE 23,4:PRINT "Esc ";
430 6S=INKEYS:IF 6$="" THEN 430
440 IF 6S=CHRS(13) THEN 480
450 PRINT 6$;
460 PRINT" "I
470 S$(I)-6"I-l+l:60TO 430
480 IF 1)2 THEN FOR J=1 TO I,D.-D.+S.(JI:NEXT JISi$.CHR'(27)+S'(0)
+CHR.(VAL(D.)):D.·
nH
490 IF 1=2 THEN ST'=CHRS(27)+S$(0)+CHR$(VALISS(I)))
~OO
IF 1=1 THEN STS-CHR'(27)+S'(O)
S10 LPRINT STSrSTSc'·,FOR J
e
l TO I:SS(J)="":NEXT J:l=O
520 LOCATE 23,4:PRINT •
"; :RETURN
530 LOCATE 23,2:PRINT ·CHRS ";:STS="'
540 GS=INKEYS:IF GS='· THEN 540
550 IF 6S=CHRS(131 THEN 570
S60 PRINT S'I:STS=STS+GS:60TO 540
I
570 LOCATE 23,2:PRINT "
":LPRINT CHR$IVALISTS))::ST$=u·:RETURN
Figure 5-4.
A simple program, written in BASIC, that serves
as a
rudimentary
word processing program.
In Figure 5-4, a very simple word processing software pro-
gram is presented, written in BASIC forthe IBM-PC. This program
leaves some room for improvement, but after all - it's free. You
might apply it to writing short letters or other simple documents.
The display on your CRT monitor may not be anything to write
home about, but at least it gives you the capability of writing
home! You may also find the use of the control codes is somewhat
awkward, but this program has its own menus which will make it
easier for you to remember the commands. The program provides
three different menus which display your options and prompt you
to select specific commands to guide you in your word process-
ing. After you have typed in the program and entered RUN follow-
ed by a carriage return, the first menu will appear at the bottom
of the screen and the cursor should be at the top left corner.
Now you can type in your text and correct any errors you may
make. Because of the simplicity of this program, it does have some
limitations, which will vary for the different computers. If your com-
puter is an IBM-PC, you can type in 23 lines at up to 80 characters
per line. Some other computers may not have the capacity to ac-
cept this many characters, limiting the amount of text you can
type. This program is also restricted in that errors can only be cor-
rected on the present line. Once you have hit
<
return> you can-
not go back to the previous line to revise it.
77

Advertisement

loading

This manual is also suitable for:

15xGemini-10xGemini-15x