home *** CD-ROM | disk | FTP | other *** search
- /* SFX ZoomLoopStart */
-
- OPTIONS RESULTS
- ADDRESS REXX_SFX
-
- GetActiveBuffer
- buf1=RESULT
- IF buf1>-1 THEN DO
- GetLoopMode buf1
- if RESULT=1 THEN DO
- GetLength buf1
- slen=RESULT
- GetLoopStart buf1
- ls=RESULT
- zs=ls-50
- IF zs<0 THEN zs=0
- zl=100
- IF (zs+zl)>=slen THEN zl=slen-zs
- SetZoomXStart buf1 zs
- SetZoomXLength buf1 zl
- END
- ELSE Message '"No loop is set !"'
- END
- ELSE Message '"No sample to operate on !"'
- ActivateSFX
- EXIT
-