09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

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.

Mathematics <strong>RAPID</strong> Summary<br />

11 Mathematics<br />

Mathematical instructions and functions are used to calculate and change the value of<br />

data.<br />

11.1 Programming principles<br />

Calculations are normally performed using the assignment instruction, e.g.<br />

reg1:= reg2 + reg3 / 5. There are also some instructions used for simple calculations,<br />

such as to clear a numeric variable.<br />

11.2 Simple calculations on numeric data<br />

Instruction Used to:<br />

Clear Clear the value<br />

Add Add or subtract a value<br />

Incr Increment by 1<br />

Decr Decrement by 1<br />

11.3 More advanced calculations<br />

Instruction Used to:<br />

:= Perform calculations on any type of data<br />

3-28 <strong>RAPID</strong> Reference Manual

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

Saved successfully!

Ooh no, something went wrong!