home *** CD-ROM | disk | FTP | other *** search
- /* Gradient rotationnel */
-
- SIGNAL on ERROR
- SIGNAL on SYNTAX
- SIGNAL on BREAK_C
-
- if ~ SHOW('L', "rexxreqtools.library") then
- addlib('rexxreqtools.library',0,-30)
-
- ADDRESS 'Lynx'
- options results
- options prompt '>'
-
- AddrCurrentImage var adresse
-
- MaskStatus var masque
- say "Etat du masquage: " masque
- Mask OFF
- Sigma var sig
- say "sigma = " sig
- Mask masque
-
- do forever
- pull inst
- if inst = 'END' then leave
- interpret inst
- end
-
- options prompt
- say "Press [RETURN]"
- pull
-
- LynxEnd
-
- exit
-
- ERROR:
- Select
- when RC = 3 then say "*** Error" RC" on line "SIGL": Process Failed"
- when RC = 2 then say "*** Error" RC" on line "SIGL": Invalid entries"
- when RC = 1 then say "*** Error" RC" on line "SIGL": No image !"
- otherwise say "*** Error "RC" on line "SIGL
- end
-
- say "--> "SourceLine(SIGL)
- say
- say 'Press [RETURN]'
- pull
- LynxEnd
- exit
-
- SYNTAX:
- say "*** Syntax error (Code "RC") on line" SIGL
- say "--> "SourceLine(SIGL)
- say
- say 'Press [RETURN]'
- pull
- LynxEnd
- exit
-
- BREAK_C:
- say "User Abort"
- say "--> "SourceLine(SIGL)
- say
- say "Press [RETURN]"
- pull
- LynxEnd
- exit
-