home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
551-575
/
apd558
/
amoner1
/
forins.amos
/
forins.amosSourceCode
Wrap
AMOS Source Code
|
1993-11-29
|
894b
|
45 lines
Screen Open 0,640,200,2,Hires
Curs Off : Cls 0 : STAR=0
Rem
Rem Draw Dialog box.
Rem
Box 200,50 To 400,100
Box 220,80 To 280,90
Box 320,80 To 380,90
Locate 30,8 : Print " Instructions?"
Text 238,88,"Yes"
Text 343,88,"No"
Rem
Rem Set yes/no zones
Reserve Zone 2
Set Zone 1,220,80 To 280,90
Set Zone 2,320,80 To 380,90
Rem
Rem Catch mouse
CATCH_MOUSE:
Repeat : Until Mouse Click
If Mouse Zone=2 or STAR=1 Then Run "Fortron.Amos"
If Mouse Zone=1 Then RULES
Goto CATCH_MOUSE
Procedure RULES
Cls 0 : Locate 1,1
Set Input 10,-1
Shared STAR
Open In 1,"Forins.txt"
LINE=0
GE_LINES:
Line Input #1,LINE$
Inc LINE
If Left$(LINE$,6)="end..." Then Goto FINITO
Print LINE$
If LINE=16
LINE=0
Locate 60,20 : Print "Click mouse."
Repeat : Until Mouse Click
Cls 0 : Locate 1,1
End If
Goto GE_LINES
FINITO:
Locate 50,20 : Print "Click mouse to begin game."
STAR=1
End Proc