home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1990-11-08 | 631 b | 26 lines |
- '**AMOS V1.2***********************************************************
- '* SCREXIST By Gary Fearn (20/9/90) *
- '**********************************************************************
- '
- For A=0 To 7
- _SCREENEXIST[A]
- If Param=1
- Print "Screen";A;" Exists"
- Else
- Print "Screen";A;" Does not exist"
- End If
- Next A
- While Mouse Key=0 : Exit If Inkey$<>"" : Multi Wait : Wend
- Edit
- '
- ' Returns 1 if screen does exist else returns 0
- Procedure _SCREENEXIST[S]
- On Error Goto SERROR
- T=Screen Height(S)
- FLG=1 : Goto FIN
- SERROR:
- Resume HIT
- HIT:
- FLG=0
- FIN:
- End Proc[FLG]