counter in while loop
3955
2
0
-
- mosari
- Member
- 30 posts
- Joined: July 2010
- Offline
how could I create a variable that increase in every iteration in while loop in vop. something like this:
int x=0
while(…)
x += 1;
how could I define something like x in vop.
-
- edward
- Member
- 7725 posts
- Joined: July 2005
- Offline
Here's one way. The key thing is that if you attach to the suboutput, then your subinput will use the values from the previous iteration.
Attachments:
whileLoopVOP.hipnc (61.9 KB)
-
- mosari
- Member
- 30 posts
- Joined: July 2010
- Offline
thank you edward I got it