home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
tools
/
kingfisher
/
locktest.kfrx
< prev
next >
Wrap
Text File
|
1995-01-19
|
1KB
|
50 lines
/* ARexx example for RexxFisher:
*
* Run this program while KingFisher and RexxFisher are running.
* I'm making no effort to assure that these two are available.
*
* Written by: Udo Schuermann
* $VER: LockDemo 1.0 (19.1.95)
*
* Demonstrates how to lock/unlock KingFisher. This is useful
* if you temporarily ADDRESS a different program and do not
* wish to run the risk of another program using the vacated
* port and messing us up when we return.
*
* The important thing to remember is to ALWAYS CALL RF_UNLOCK!!!
*
* NOTE: This script requires RexxFisher 1.10 for two reasons:
* 1. RF_LOCK/RF_UNLOCK commands
* 2. The RF_ prefixes are omitted here; this is optional
* beginning with RexxFisher 1.10.
*/
options results
address rexxfisher1
VERSION
say "Hi, you are now connected to ..." result
HELP
say ""
say "Here is some HELP for you, information on RexxFisher in other words:"
say ""
say result
say "We now lock RexxFisher..."
LOCK
key = result
say "Let's get a version inquiry..."
VERSION
say result
say "Let's unlock RexxFisher again, using our key" key
UNLOCK key
say result
say "And NOW get a version inquiry..."
VERSION
say result
say "Done. Bye-bye!"