home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 25
/
amigaformatcd25.iso
/
websites
/
asimware
/
techsupport
/
files
/
asimcdfs_arexxsamples.lha
/
ARexx_Samples
/
DiscChanger
/
cdda_partial_track.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-08-23
|
560b
|
36 lines
/* This example will demonstrate the use of the cdda_partial_track command
in DiscChanger.
(C)1995 Asimware Innovations Inc. */
options results
address "DiscChanger_ARexx"
cdda_first_track
if rc ~= 0 then do
say 'Failed with 'rc'.'
exit
end
track = result
say 'Setting track 'track' to reference half of its track.'
cdda_track_length track
if rc ~= 0 then do
say 'Failed with 'rc'.'
exit
end
framelen = result
cdda_partial_track track 0 framelen/2
if rc ~= 0 then do
say 'Failed with 'rc'.'
exit
end
exit