GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | YMAX

Edit History

YMAX

n = YMAX

Home > Reference > Graphics

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
Code samples using YMAX
003 conditional branching.bas   100lines.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   bezier's autograph book.bas   bezierbounce.bas   biorythms.bas   blushing snowflakes.bas   boing.bas   bomb.bas   bonkers.bas   bopit.bas   bowling7.bas   bpf1.bas   bpf2.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  
This page was last edited on Fri, 15 Sep 2023 11:29:04 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.