What it does
PrintC makes something happen at once: it prints. It takes szString (a string), and returns nothing. That is the first of 3 forms.
Syntax
1
PrintC(szString string)2
PrintC(i integer)3
PrintC(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
PrintC("hello")DO Sync()LOOPForm 2, with an integer
PrintC(1)DO Sync()LOOPPrintC 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.