1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 17:01:21 +00:00
QB64-PE/internal/help/Underscore.txt

21 lines
663 B
Plaintext
Raw Normal View History

An '''underscore''' can be used at the end of a line of code to continue a code line to the next line.
''Usage:'' IF x + y > 500 AND x + y < 600 THEN_
:::PRINT x + y
* The underscore can be anywhere after the code on that line to continue it to the next line.
* Multiple underscores can be used for the same line of code.
* Variables and user defined procedures can use underscores in the middle of the name. Only QB64 keywords can use a leading underscore!
* The underscore is NOT compatible with Qbasic! The Qbasic IDE will remove or hide them.
''See also:''
* [[Colon]], [[Comma]], [[Semicolon]]
* [[IF...THEN]]
{{PageNavigation}}