| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Rexx, Sbpro, Modem 4/ 4 |
Continued from previous message.
else if key='TIMEFMT' then
TIMEFMT=value
return
/* -- help --
** Display help text
*/
Help:
say
say 'This command file plays a file or device using the MultiMedia'
say 'REXX string interface.'
say
say 'play [FILE="filename"] [DEV=device] [TIMEFMT=timefmt]'
say ' [FROM=from_position] [TO=to_position]'
return
/* --- ErrExit --
** Common routine for error clean up/program exit.
** Gets called when commands to DLL fail.
*/
ErrExit:
MacRC = mciRxExit() /* Tell the DLL we're going away */
exit 1; /* exit, tell caller things went poorly */
/* ---- error --
** Routine gets control when any command to the external
** environment (usually OS/2) returns a non-zero RC.
** This routine does not get called when the macapi.dll
** returns non-zero as it is a function provider rather
** than a command environment.
*/
error:
ErrRC = rc
say 'Error' ErrRC 'at line' sigl ', sourceline:' sourceline(sigl)
MacRC = mciRxExit() /* Tell the DLL we're going away */
exit ErrRC /* exit, tell caller things went poorly */
/* ---- halt --
** Routine gets control when user hits ctrl break to end
*/
halt:
say 'Halting...'
MacRC = SendString("close rexxalias wait")
if MacRC 0 then signal ErrExit
exit 0
David Johnson
* With foxes we must play the fox.
---
* RoseReader 2.50* P004198 Entered at [PROGRAMMERS GLD]
--- QScan v1.067b
* Origin: Programmer's Guild BBS, Hamilton, Ont. (1:244/317)SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1 @PATH: 244/317 300 99 12/12 3615/50 229/2 12/2442 711/409 54/54 711/808 809 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.