Line Separator
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=ProPgLineSeparator
- Last revised: 2021-10-29
Line Separator character(s) allow to place multiple statements on the same line.
Description
Statements normally take up a single line with no terminator.
But statements can even be stacked by using a colon (😃 to separate them.
To place multiple statements on the same line, separate the statements with a colon (😃, as in the following example:
start GeSHi
vb
'' These 5 statements are stacked on the same line, using the ':' character as a separator
Dim As String text = "Hello!" : Color 14, 3 : Print text : Color 7, 0 : Sleepend GeSHi
See also
Back to DocToc