![]() |
![]() |
![]() |
![]() |
loop
Synopsis
module loop {
int+read+write _reset;
int+read+write _run;
int+read _cycle;
int+read _start_val;
int+read _end_val;
int+read _incr;
};Description
loop iterates an operation. For example, you could use a loop object to control the movement of an object in your application; this could be as simple as controlling the movement of a slider, or as complex as continuously looping a 3D animation.
Input
When set to 1, resets the count subobject to the value of the start_val subobject. This value is reset to 0 right after it is changed.
Parameters
Output Port
The loop object contains these other subobjects that indicate the progress of the iteration:
Example
See the implementation of the Network Editor in v/ne.v for an example of how to use the journal module.
![]() |
![]() |
![]() |
![]() |