home *** CD-ROM | disk | FTP | other *** search
- /* FW_ColourCycle.rexx 1.0 (04.01.95) by NDY's
-
- Creates a series of wrap texts with alternating colours.
- You should use a different colour for oval fill and border and for the text. */
-
- /* Init */
- OPTIONS RESULTS
- rxport="FinalWrapperPort"
- IF ~Show("P",rxport) THEN EXIT 10
- ADDRESS VALUE rxport
- Lock ON
- Prefs STORE
- Set ZIP 1 /* Make window small */
- oldzip=RESULT
- SIGNAL ON ERROR
-
- /* Main */
- SetState ZOO 1
- SetMode ZOO 0
- DO i=0 TO 5
- SetMode INK i//3
- SetVal ZOO i*10+50
- Go
- END
-
- /* Exit */
- ERROR:
- Set ZIP oldzip
- Prefs RESET
- Lock OFF
- EXIT
-