home *** CD-ROM | disk | FTP | other *** search
- /* Textra ARexx art #1
-
- by Nick Didkovsky
-
- 17-Feb-94
-
- Run this script from Textra and watch the fun!
-
- Select Cancel ARexx Script from Textra's Utilities menu to stop this baby.
-
- */
-
- options results
-
- OPENFILE 'CoolTextraArt' /* open a new window */
-
- hh = time('Hours')
- mm = time('m')
- ss = time('S')
- seed = (hh + mm + ss)
-
- CharsPerLine = 75
-
- DO slashes = 1 TO CharsPerLine
- slashcode = random(0,1,seed) /* min,max,seed */
- IF slashcode = 1
- then text '/'
- else text '\'
- END
-
- NewLine
-
- SELECTLINE 0
- COPY
- UNSELECT
-
- NumLines = 17
- DO CurrentLine = 1 to NumLines
- LINE CurrentLine
- PASTE
- NEWLINE
- END
-
- DO forever
- /* Check if the user wants to cancel... */
- CheckCancel; if (result == CANCEL) then exit
-
- IF (random(0,1,seed) == 0)
- THEN TheSlash = '/'
- ELSE TheSlash = '\'
-
- DO CurrentLine = 0 to NumLines % 2
- LINE CurrentLine * 2
- Column 0
- Text TheSlash
- Column CharsPerLine + 1
- backspace
- END
-
- END
-