home *** CD-ROM | disk | FTP | other *** search
- /* A test of the rastering system */
- parse arg CommandPort ActiveString
-
- if (length(CommandPort) == 0) then do
- say ""
- say "Usage: rx raster.rexx <REXXPORTNAME>"
- say " (REXXPORTNAME is usually AMISLATE)"
- say ""
- say "Or run from the Rexx menu within AmiSlate."
- say ""
- exit 0
- end
-
- address (CommandPort)
-
- 'setraster 10 10 100 100 0'
- i = 0
- count = 0
-
- do while (1)
- i = i + 1
- count = count i + 1
- if (count > 500) then exit
- if (i > 6) then do
- i = 1
- end
-
- 'putrasterpixel 3 PEN 'i
- 'waitevent 1'
- end
-
-