10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Eldo Control Language<br />

Statement Overview<br />

Statement Overview<br />

This section details the fundamental building blocks of ECL statements:<br />

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 820<br />

Line Breaks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 820<br />

Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821<br />

Flow Control Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835<br />

Comments<br />

Single line comments inside tasks are introduced with a double slash or an asterisk:<br />

// this is a single line comment<br />

* this is also a single line comment<br />

End-of-line comments inside tasks are introduced with a double slash:<br />

set a = 3 // this is an end-of-line comment<br />

Multi-line comments can use the /* */ construct:<br />

/*<br />

this is a multiple<br />

line comment<br />

*/<br />

Line Breaks<br />

Generally, a statement must be written on a single line. However it is possible to break a line<br />

explicitly using either of the following:<br />

• A backslash “\” at the very end of the first part of the broken line.<br />

• A “+” sign at the beginning of the second part of the broken line.<br />

Note<br />

Either a “\” or a “+” must be used, not both. Note also that no character must be<br />

present after the “\”, especially not a space.'<br />

For an example of line-breaking, see Example Two in “Task Definition” on page 814.<br />

Related Topics<br />

Task Definition<br />

Task Instantiation<br />

820<br />

Eldo® User's Manual, 15.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!