Line Separator
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:
See also:
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:
'' 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 : Sleep
Dim As String text = "Hello!" : Color 14, 3 : Print text : Color 7, 0 : Sleep
Back to Programmer's Guide