forked from QB64-Phoenix-Edition/QB64pe
-
Notifications
You must be signed in to change notification settings - Fork 0
Question mark
Samuel Gomes edited this page Nov 8, 2022
·
1 revision
A question mark can be used as a substitute shortcut to typing PRINT when creating code.
? "Hello world"
PRINT "Hello world"
- When the IDE cursor moves to the next code line, the question mark is changed to PRINT and the prompt text and variable are spaced appropriately.
- When an INPUT statement has no text, a question mark will appear before the input.
- A semicolon after the INPUT prompt text will add a question mark after the statement.