home *** CD-ROM | disk | FTP | other *** search
- /* Eagleplayer control for DOPUS 4
- (c) 1993-97 DEFECT Softworks
- switches to previous pattern in module
-
- ------------------------------------------------------------------------
- Call as:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- [ARexx] Eagleplayer2:Rexx/EP_PrevPatt.dopus {p}
-
- Flags: none required
-
- */
- parse arg opusport
- options results
-
- address 'rexx_EP'
- status m pnr
- nummer=result
- if nummer == "RESULT" then
- do
- address value opusport
- toptext "Eagleplayer: no module loaded"
- exit 0
- end
- else
- do
- status p nummer jmp
- if result == "no" then
- do
- address value opusport
- toptext "Eagleplayer: Patternjump not available!"
- end
- else
- do
- prevpatt
- song=result
- address value opusport
- toptext "Eagleplayer: "||song
- end
- end
-