1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 11:10:23 +00:00
qb64/internal/help/Question_mark.txt

23 lines
590 B
Plaintext
Raw Normal View History

A '''question mark''' can be used as a substitute shortcut to typing PRINT when creating code.
2019-04-15 01:15:33 +00:00
''Usage:'' ?"Hello world"
2019-04-15 01:15:33 +00:00
''Result:'' 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.
''See also:''
* [[PRINT]]
* [[Semicolon]], [[Comma]]
* [[Quotation mark]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}