home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Graphics
/
WOGRAPH.BIN
/
277.GIFV.SLJ
< prev
next >
Wrap
Text File
|
1993-02-17
|
755b
|
34 lines
;
; GIFV.SLJ
; This script illustrates the usage of the GOSUB command
; All files on F:\*.GIF are displayed and after begin displayed have the
; RED and BLUE color levels increased 20 times and then reset.
;
change-path f:\*.gif
:loop
loadnext :exit
gosub :gosub-here
goto :loop
:gosub-here
;
; Here is my routine to increase RED a 20 times and
; then increase blue 20 times then it resets the colors
;
set v1 1
:more-red
more-red
set v1 +
if v1=20 :NoMoreRed
goto :more-red
:NoMoreRed
set v1 1
:more-blue
more-blue
set v1 +
if v1=20 :NoMoreblue
goto :more-blue
:NoMoreBlue
reset-colors
sub-end
:exit