GRAPHIC

From Liberty BASIC Family
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