-
Notifications
You must be signed in to change notification settings - Fork 1
whatcolorback
Tristan Hume edited this page Apr 23, 2012
·
3 revisions
#whatcolorback
##Syntax whatcolorback : int
##Description The whatcolorback function is used to determine the current background color. The alternate spelling is whatcolourback.
##Example This program outputs the currently-active background color number. The background color of the message is determined by this number.
setscreen ("screen")
�
put "The background of this writing"
put "is in color number ", whatcolorback
##Details The screen should be in a "screen" or "graphics" mode. Beware that the meaning of background color is different in these two modes. See colorback for details.
##See also color.html and whatcolor.html.
See also predefined unit textmodule.html.