home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
551-575
/
apd571
/
progs
/
textreader_pro
/
textreader_pro.amos
/
textreader_pro.amosSourceCode
Wrap
AMOS Source Code
|
1993-12-02
|
1KB
|
36 lines
CREDITS : _GETTEXT
Procedure CREDITS
Curs Off : Cls 0 : Flash Off : Hide : X=5
Print At(0,X) : Paper 0 : Pen 5
Centre "Amos Professional Text Reader"
Print At(0,X+4) : Pen 3
Centre "Produced by Maverick Productions"
Print At(0,X+8)
Pen 1 : Centre "1993 Mark Ward"
Print At(0,X+12) : Pen 6
Centre "Written using AMOS Professional 1.0"
Wait Key
Fade 10 : Wait 100
End Proc
Procedure _GETTEXT
Screen Close 0 : Screen Open 0,320,256,16,Lowres
Curs Off : Cls 0 : Flash Off : Show
Print At(0,3) : Pen 5 : Paper 0
Centre Border$("AMOS Professional Text Reader",2)
Pen 6 : Paper 13
Reserve Zone 2
Print At(0,10) : Centre Border$(Zone$("Load ASCII File",1),2)
Print At(0,15) : Centre Border$(Zone$(" Quit ",2),2)
Do
On Error Proc HELP
Do
M=Mouse Zone
If Mouse Key and M>0 Then Exit
Loop
If M=1 : Read Text Fsel$("**") : End If
If M=2 : Edit : End If
Loop
End Proc
Procedure HELP
Resume Next
End Proc