22.01.2015 Views

HDevelop User's Manual

HDevelop User's Manual

HDevelop User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix A<br />

Control<br />

××Ò ´ ÁÒÔÙØ Ê×ÙÐØ µ<br />

Assign a new value to a control variable.<br />

××Ò assigns a new value to a variable. In <strong>HDevelop</strong> an assignment is treated like an operator.<br />

To use an assignment you have to select the operator ××Ò´ÁÒÔÙظÊ×ÙÐص. This<br />

operator has the following semantics: It evaluates ÁÒÔÙØ (right side of assignment) and stores<br />

it in Ê×ÙÐØ (left side of assignment). However, in the program text the assignment is represented<br />

by the usual syntax of the assignment operator: ’’. The following example outlines<br />

the difference between an assignment in C syntax and its transformed version in <strong>HDevelop</strong> :<br />

The assignment in C syntax<br />

Ù ×Ҵܵ · Ó״ݵ<br />

is defined in <strong>HDevelop</strong> using the assignment operator as<br />

××Ò´×Ҵܵ · Ó״ݵ¸ Ùµ<br />

which is displayed in the program window as:<br />

Ù ×Ҵܵ · Ó״ݵ<br />

Parameter<br />

º ÁÒÔÙØ (input control) ..............................real(-array) real /integer/string<br />

New value.<br />

Default Value : 1<br />

º Ê×ÙÐØ (output control) ............................real(-array) real /integer/string<br />

Variable that has to be changed.<br />

1

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

Saved successfully!

Ooh no, something went wrong!