GRAPHIC

From Liberty BASIC Family
Revision as of 10:30, 20 June 2021 by StPendl (talk | contribs) (Created page with "{{Template:BuildingBlockLangImage}} == Description == : You can add a graphic object to a web page. The maximum size is 800 pixels by 600 pixels. == Syntax == # GRAPHIC #han...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Not supported in Just BASIC Not supported in Liberty BASIC Not supported in Liberty BASIC 5 Supported in Run BASIC

Description

You can add a graphic object to a web page. The maximum size is 800 pixels by 600 pixels.

Syntax

  1. GRAPHIC #handle, width, height - Create a graphic object named #handle of width and height

Hints

Place useful hints about this keyword here

Example

print "Before creation, IsNull() returns:"
print #g isnull()
print
graphic #g, 200,200
print 
print "Object is a ";#g debug$()
print
print "After creation, IsNull() returns:"
print #g isnull()
wait

Useful Procedures

' Place a useful function or sub using this keyword here