home *** CD-ROM | disk | FTP | other *** search
- /* JACOsub BEGINTIME command demonstration.
- This command changes the begin time for playing a script.
-
- BEGINTIME returns RESULT=0 if successful, or RESULT=1 if the time
- string had a bad format, or 2 if there was a resolution conflict.
- */
-
- if ~arg() then do ; say 'Need arguments H:MM:SS.FF and [counts/sec]' ; exit 1 ; end
- parse arg starttime secunits .
- options results
-
- address 'JACOsub'
- 'BEGINTIME' starttime secunits
-
- if result > 0 then
- say 'error setting begin time'
- else
- say 'begin time set successfully'
- exit result
-