PrintC

Family: Text · 3 forms

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

NameTypeIn forms
szStringstring1
iinteger2
ffloat3

Every form returns

nothing

Example · generated

Form 1, with a string

PrintC("hello")DO  Sync()LOOP

Form 2, with an integer

PrintC(1)DO  Sync()LOOP

PrintC 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.

68 commands in Text