23.05.2014 Views

Athena Developer Guide

Athena Developer Guide

Athena Developer Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Athena</strong><br />

Chapter 13 Framework services Version/Issue: 2.0.0<br />

Boolean-type, written as true or false.<br />

e.g. true; false;<br />

Integer-type, written as an integer value (containing one or more of the digits ’0’, ’1’, ’2’, ’3’, ’4’,<br />

’5’, ’6’, ’7’, ’8’, ’9’)<br />

e.g.: 123; -923; or in scientific notation, e.g.: 12e2;<br />

Real-type (similar to double in C++), written as a real value (containing one or more of the<br />

digits ’0’, ’1’, ’2’, ’3’, ’4’, ’5’, ’6’, ’7’, ’8’, ’9’ followed by a dot ’.’ and optionally one or more of digits<br />

again)<br />

e.g.: 123.; -123.45; or in scientific notation, e.g. 12.5e7;<br />

String type, written within a pair of double quotes (‘ ” ’)<br />

e.g.: “I am a string”; (Note: strings without double quotes are not allowed!)<br />

Vector of the types above, within array-brackets (’{’, ’}’), separated by a comma (’,’)<br />

e.g.: {true, false, true};<br />

e.g.: {124, -124, 135e2};<br />

e.g.: {123.53, -23.53, 123., 12.5e2};<br />

e.g.: {“String 1”, “String 2”, “String 3”};<br />

A single element which should be stored in a vector must be within array-brackets without<br />

a comma<br />

e.g. {true};<br />

e.g. {“String”};<br />

A vector which has already been defined earlier in the file (or in included files) can be<br />

reset to an empty vector<br />

e.g. {};<br />

13.3.2.2 Append Statement<br />

Because of the possibility of including other job option files (see below), it is sometimes necessary to<br />

extend a vector of values already defined in the other job option file. This functionality is provided be<br />

the append statement.<br />

An append statement has the following syntax:<br />

. < Propertyname > += < value >;<br />

The only difference from the assignment statement is that the append statement requires the ’+=’<br />

symbol instead of the ‘=’ symbol to separate the Propertyname and value tokens.<br />

page 101

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

Saved successfully!

Ooh no, something went wrong!