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
Code samples using XMAX
003 conditional branching.bas
100lines.bas
2048.bas
2048.bas
3d rotating cube with message.bas
3d wire cube.bas
3d_torus.bas
3dtictac.bas
3dtorus.bas
A Rubens, Peter Paul Landscape.bas
analog clock.bas
anball 1.0.bas
angel feather.bas
another look at trig functions.bas
aquarium v2.bas
arc_ui.bas
autumn scene.bas
balls.bas
betrayal: crows ii.bas
bezier's autograph book.bas
bezierbounce.bas
biorythms.bas
blushing snowflakes.bas
boing.bas
bomb.bas
bonkers.bas
bopit.bas
bowling7.bas
bplus paddleball.bas
Graphics
ARC
CHART
CIRCLE
COLOR
DRAW
DRAWPOLY
IMAGE
LINE
PAINT
PEN
PLOT
POINT
PSET
RECT
RGB
RGBF
SHOWPAGE
TEXTHEIGHT
TEXTWIDTH
TXTH
TXTW
VIEW
WINDOW
XMAX
XPOS
YMAX
YPOS
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.