YMAX

n = YMAX

Returns the screen height in pixels.

See XMAX for screen width.

Example

print "This window has " + XMAX + "x" + YMAX + " pixels"
' Output: This window has 640x480 pixels