Open System Testing Architecture

TOC PREV NEXT INDEX



Continuation Lines

It is not always possible to fit a script statement or command onto one line, so SCL allows you to use `continuation lines'.

An SCL statement or command may be split over two or more lines by terminating all but the last line of the statement with an ampersand or hyphen character ("&" or "-"). To avoid possible confusion with the minus character, it is recommended that the ampersand be used, and that it be separated from the preceding characters on the line by at least one space.

The only things that may follow a continuation character are space characters, tab characters and comments (see the next section).

A quoted character string is continued onto another line by closing it at the end of the line and reopening it on the next. Opening and closing quotes must match on any one line, as shown in the following example:

 LOG "This string of text is continued " &
        'over two lines.'
 LOG "This message contains a variable ", VAR1, &
        ' and is continued on this line ', &
        VAR2, ' and this line', &
        ' and this line'

Note: A line that ends with an SCL command or statement terminated by "&" or "-" implies that the next line encountered will be regarded as a continuation of the original command or statement.

See also:

Overview of Script Control Language Syntax


OpenSTA.org
Mailing Lists
Further enquiries
Documentation feedback
CYRANO.com
TOC PREV NEXT INDEX