home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
ibm1
/
pandor23.arj
/
SAMPAN.ZIP
/
HELP.PAN
< prev
next >
Wrap
Text File
|
1991-09-15
|
1KB
|
61 lines
*******************************************************************
*** ***
*** Sample Pandora script for adding help screens to a program ***
*** ***
*******************************************************************
Load "program.exe"
Output "Press Alt-H for help..."
Pause 2s
Go ""
VideoFore LightGreen
VideoBack Brown
OnDeath Out
Lock
Label Loop
WaitKey
IfKey "[Alt]H"
WriteScreen "$screen$"
Label HelpMore
Screen 07 22 / ╔═╡ Help ╞══════════════╗ /
Screen 08 22 / ║ Select a topic: ║ /
Screen 09 22 / ║ 1. Commands ║ /
Screen 10 22 / ║ 2. Function Keys ║ /
Screen 11 22 / ║ 3. Other ║ /
Screen 12 22 / ║ Press [Esc] to return ║ /
Screen 13 22 / ╚═══════════════════════╝ /
Label Helper
GetKey
IfKey "[Esc]"
Jump HelpOut
EndIf
IfKey "123"
IfKey "1"
ReadScreen helpscrn.001
EndIf
IfKey "2"
ReadScreen helpscrn.002
EndIf
IfKey "3"
ReadScreen helpscrn.003
EndIf
GetKey
ReadScreen $screen$
Jump HelpMore
Else
Jump Helper
EndIf
Label HelpOut
ReadScreen $screen$
Else
PassKey
EndIf
Jump Loop
* Control comes here when the program terminates
Label Out
Flush
Quit