home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
comm
/
Mail+News
/
UMS11
/
rexx
/
GotoMsg.intui
< prev
next >
Wrap
Text File
|
1995-08-27
|
666b
|
42 lines
/*
$VER: GotoMsg.intui 1.0 (27.8.95)
Author:
Matthias Scheler (tron@lyssa.owl.de)
Function:
asks for a message number and display the message
History:
0.1 initial version
1.0 released with IntuiNews 1.3
Example for "ums.config":
( IntuiNews.Rexx
...
"GroupWindow F2 GotoMsg.intui\n"
...
)
*/
/* Exit if Group Window is not active. */
OPTIONS RESULTS
STATUS
IF RESULT~="GROUP" THEN EXIT 5
/* Ask the user for the message numbr. */
'GETSTRING TITLE "Goto Message" LABEL "_Message Number"'
IF RESULT="RESULT" THEN EXIT 5
MsgNum=RESULT
/* now scan it */
BEGINSCAN
'SCANMSG' MsgNum
ENDSCAN