09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Clear Clears the value<br />

Example<br />

Arguments<br />

Syntax<br />

Clear is used to clear a numeric variable or persistent , i.e. it sets it to 0.<br />

Clear reg1;<br />

Reg1 is cleared, i.e. reg1:=0.<br />

Clear Name<br />

Name Data type: num<br />

The name of the variable or persistent to be cleared.<br />

Clear<br />

[ Name ’:=’ ] < var or pers (INOUT) of num > ’;’<br />

Related information<br />

Described in:<br />

Incrementing a variable by 1 Instructions - Incr<br />

Decrementing a variable by 1 Instructions - Decr<br />

<strong>RAPID</strong> Reference Manual 8-Clear-1

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

Saved successfully!

Ooh no, something went wrong!