PRINT
TEXT, CLASS (optional), ID (optional), TITLE (optional), STYLE (optional), SIZE (optional), X (optional), Y (optional)
Outputting text to the screen.
Example
PRINT "Hello World!"
LINE BREAK
PRINT "Hello World! I've parameters too!","basic"
LINE BREAK
DEF string$="kytschBASIC"
PRINT string$
Output
Hello World!
Hello World! I've parameters too!
kytschBASIC
Hello World! I've parameters too!
kytschBASIC
| Parameter | Optional | Type | Description |
|---|---|---|---|
| STRING | No | mixed or variable | The text to be outputted |
| CLASS | Yes | string or variable | CLASS to style the text |
| ID | Yes | string or variable | ID to help identify or style the text |
| TITLE | Yes | string or variable | When the user hovers over the PRINT they'll see a title popup to help explain what it might be |
| STYLE | Yes | string or variable | Set the inline style of the text |
| SIZE | Yes | integer or variable | The size is set in pixels (px) |
| X | Yes | integer or variable | To set the horizontal position the text onscreen and the x is set in pixels (px) |
| Y | Yes | integer or variable | To set the vertical position the text onscreen and the y is set in pixels (px) |