home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
procedures
/
_change_colour.amos
/
_change_colour.amosSourceCode
Wrap
AMOS Source Code
|
1994-04-26
|
368b
|
14 lines
Load Iff "dh0:__pics/error-soft",0
Flash Off
Curs Off
CHANGECOL[2,5]
Wait 50
Procedure CHANGECOL[_COLOUR,_CHANGE_COLOUR]
For Y=0 To Screen Height
For X=0 To Screen Width
If Point(X,Y)=_COLOUR Then Ink _CHANGE_COLOUR : Plot X,Y : Goto SKIP
If Point(X,Y)=_CHANGE_COLOUR Then Ink _COLOUR : Plot X,Y
SKIP:
Next X
Next Y
End Proc