What it does
Print takes szString (a string), and returns nothing. That is the first of 3 forms.
Syntax
1
Print(szString string)2
Print(i integer)3
Print(f float)Parameters
| Name | Type | In forms |
|---|---|---|
| szString | string | 1 |
| i | integer | 2 |
| f | float | 3 |
Every form returns
nothing
Example · generated
Form 1, with a string
Print("hello")DO Sync()LOOPForm 2, with an integer
Print(1)DO Sync()LOOPPrint is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.