10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ExpressionsVariables in ExpressionsYou can use simple variables alone or in expressions. In the following example,the age variable appears alone on the left side and is an element in theexpression “age + 1” on the right of the assignment statement:age = age + 1;OpenROAD uses the current value of age to compute a new value that replacesthe current value.You can use the simple variables that are elements of reference or arrayvariables in the same way, for example:total = 0;i = 1;while i

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

Saved successfully!

Ooh no, something went wrong!