Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3<br />
ÜØ terminates <strong>HDevelop</strong>. The operator is aquivalent to the menu Ð º ÉÙØ. Internally<br />
and for exported C++ code the C-function call ÜØ´¼µ is used.<br />
Example<br />
ÖÑ ´ÁѸ ³Ö³µ<br />
ÒØÒ×ØÝ ´ÁѸ ÁѸ ÅÒ¸ ÚØÓÒµ<br />
ÓÔÒÐ ´³ÒØÒ×ØݺØÜس¸ ³ÓÙØÔÙس¸ ÐÀÒе<br />
ÛÖØ×ØÖÒ ´ÐÀÒи ÅÒ · ³ ³ · ÚØÓÒµ<br />
ÐÓ×Ð ´ÐÀÒе<br />
ÜØ ´µ<br />
Result<br />
ÜØ returns 0 (o.k.) to the calling environment of <strong>HDevelop</strong> = operating system.<br />
Parallelization Information<br />
ÜØ is reentrant, local, and processed without parallelization.<br />
×ØÓÔ<br />
Basic operators<br />
See Also<br />
Module<br />
ÓÖ ´ ËØÖظ Ò¸ ËØÔ ÎÖÐ µ<br />
Execute the body for a fixed number.<br />
The ÓÖ loop is controlled by a start and termination value and an incrementation value that<br />
determines the number of loop steps. These values may also be expressions which are evaluated<br />
immediately before the loop is entered. The expressions may be of type ÒØÖ or of type<br />
ÖÐ. If all input values are of type ÒØÖ the loop variable will also be of type ÒØÖ.<br />
In all other cases the loop variable will be of type ÖÐ. If the start value is less or equal to the<br />
termination value, the loop index is assigned with the starting value and the body of the loop<br />
is entered. If the increment is less than zero the loop is entered if the start value is larger or<br />
equal to the end value. Each time the body is executed, the loop index is incremented by the<br />
incrementation value. If the loop index is equal to the termination value, the body of the loop is<br />
performed for the last time. If the loop index is larger than the termination value the body will<br />
not be excecuted any longer. For negative increment values the loop is terminated if the loop<br />
index is less than the termination value.<br />
Please note that it is not necessary, that the loop index has to be equal to the termination value<br />
before terminating the loop. The loop index is set to the termination value when the loop is<br />
being left. Please note, that the expressions for start and termination value are evaluated only<br />
once when entering the loop. A modification of a variable that appears within these expressions<br />
has no influence on the termination of the loop. The same applies to the modifications of the<br />
loop index. It also has no influence on the termination. The loop value is assigned to the correct<br />
value each time the ÓÖ operator is executed.<br />
If the ÓÖ loop is left too early (e.g. if you press ËØÓÔ and set the È) and the loop is entered<br />
again, the expressions will be evaluated, as if the loop were entered for the first time.<br />
HALCON 6.0