home *** CD-ROM | disk | FTP | other *** search
- /* This example will demonstrate the use of the get_disc_length command
- in AsimTunes.
-
- (C)1993-1995 Asimware Innovations Inc. */
-
-
- options results
-
- address "AsimTunes_ARexx"
-
- get_disc_length
- if rc ~= 0 then do
- say 'Failed with 'rc'.'
- exit
- end
-
-
- total_secs = result
- say 'Audio CD is' total_secs 'seconds long.'
-
- minute = trunc(total_secs / 60)
- seconds = total_secs // 60
- say 'In MM:SS, this is 'minute':'seconds
-
- exit
-