XMAX

n = XMAX

Returns the screen width in pixels.

See YMAX for screen height.

Example

print "This window has " + XMAX + "x" + YMAX + " pixels"
' Output: This window has 640x480 pixels
Graphics
If there is insufficient information on this page and you wish learn more about XMAX, please send an email to smallbasic@gmail.com. You can help to improve information about XMAX by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.