mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-20 22:05:15 +00:00
LINE INPUT will now use the faster method if passed a file handle that has been opened FOR BINARY. As such, the _BLINEINPUT command has been removed. qb64.bas now takes advantage of this for reading from '$include files, at least in Include Manager 1. Some tweaking of internal/source/main.txt was required to get things into a sane state, so I'm holing off changing the compiler any further so the auto-builder can make sure everything's smoothed over. Note: Everything should still compile as normal; I'm just being overcautious.
22 lines
609 B
Plaintext
22 lines
609 B
Plaintext
A '''question mark''' can be used as a substitute shortcut to typing PRINT when creating code.
|
|
|
|
|
|
''Usage:'' ?"Hello world"
|
|
|
|
|
|
''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]]
|
|
|
|
|
|
{{PageNavigation}} |