home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TCE Demo 2
/
TCE_DEMO_CD2.iso
/
demo_cd_.2
/
mags
/
stosser
/
stoser03.arj
/
stoser03.msa
/
A
/
T1L1.ASC
< prev
next >
Wrap
Text File
|
1987-04-22
|
574b
|
26 lines
10 rem simple programme
20 rem showing how to PRINT
30 rem and how to CENTRE text
40 rem
50 cls
60 input "ENTER YOUR NAME PLEASE";NAME$
70 rem
80 rem this prints wrong
90 rem
100 locate 0,1 : centre " Hello There "
110 print "something has gone wrong"
120 print NAME$
130 wait 100
140 rem
150 rem this prints better
160 rem
170 pen 1 : paper 2 : ink 1 : curs off
180 locate 0,10 : print "PRESS A KEY"
190 wait key
200 cls : ink 2
210 locate 1,1 : print " Hello There"
220 print "this is better"
230 print NAME$
240 wait 100 : curs on
250 goto 50