home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 25
/
amigaformatcd25.iso
/
websites
/
asimware
/
techsupport
/
files
/
asimcdfs_arexxsamples.lha
/
ARexx_Samples
/
AsimTunes
/
get_track_length.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-08-23
|
465b
|
26 lines
/* This example will demonstrate the use of the get_track_length command
in AsimTunes.
(C)1993-1995 Asimware Innovations Inc. */
options results
address "AsimTunes_ARexx"
get_track_length
if rc ~= 0 then do
say 'Failed with 'rc'.'
exit
end
total_secs = result
say 'Current Track is' total_secs 'seconds long.'
minute = trunc(total_secs / 60)
seconds = total_secs // 60
say 'In MM:SS, this is' minute':'seconds
exit