-
Notifications
You must be signed in to change notification settings - Fork 1
view_maxx
Tristan Hume edited this page Apr 23, 2012
·
3 revisions
#View.maxx
##Syntax maxx : int
##Description The maxx function is used to determine the maximum value of x for the current graphics mode.
##Example This program outputs the maximum x value.
setscreen ("graphics")
�
put "The maximum x value is ", maxx
##Details The screen should be in a "graphics" mode. If it is not, it will automatically be set to "graphics" mode. See setscreen for details.
For the default IBM PC compatible graphics mode (CGA), maxx = 319.
##Status Exported unqualified.
This means that you can call the function by calling maxx or by calling View.maxx.
##See also draw_dot.html for an example of the use of maxx.html and for a diagram illustrating x and y positions.