Product SiteDocumentation Site

1.10.6. Continuations

One way to continue a clause on the next line is to use the comma or the minus sign (-), which is referred to as the continuation character. The continuation character is functionally replaced by a blank, and, thus, no semicolon is implied. One or more comments can follow the continuation character before the end of the line.
The following example shows how to use the continuation character to continue a clause:

Example 1.15. Continuations

say "You can use a comma",       -- this line is continued
"to continue this clause."
or
say "You can use a minus"-       -- this line is continued
"to continue this clause."