home *** CD-ROM | disk | FTP | other *** search
- /* 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
-