home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TCE Demo 2
/
TCE_DEMO_CD2.iso
/
demo_cd_.2
/
mags
/
stosser
/
stoser03.arj
/
stoser03.msa
/
A
/
T1L3.ASC
< prev
next >
Wrap
Text File
|
1987-04-22
|
652b
|
25 lines
10 on error goto 220
20 cls : key off : click off : curs off
30 if mode<>0 then mode 0
40 locate 0,4 : centre "PROGRAMME 3"
50 locate 0,8
60 input "BOX LENGTH";BY
70 locate 0,10
80 input "BOX WIDTH";BX
90 locate 0,12
100 input "BOX COLOUR";C
110 if BX>=320/2 then BX=300/2 : gosub 190
120 if BY>=198/2 then BY=198/2 : gosub 190
130 BX1=BX*2 : BY1=BY*2
140 ink C
150 box BX,BY to BX1,BY1
160 print "press a key"
170 wait key
180 goto 10
190 flash 1,"(007,20)(502,20) "
200 locate 8,20 : print "Number Too Big"
210 wait 200 return
220 flash 1,"(007,20)(502,20) "
230 locate 8,20 : print "Colour 0 to 15"
240 wait 200 : goto 10