home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
flow
/
for.
/
for.bin
Wrap
Text File
|
1995-12-09
|
844b
|
19 lines
OPERATOR
for --- repeat a set of operations for a specified number of times
DESCRIPTION
The for operator provides for looping objects through a set of igraph
operators. It has one integer parameter, count . Every time a token arrives
at the input port, count is decremented by one. If the resulting value of
count is greater than zero, the token is passed to the top branch (labelled
>0 ), which most often would have a list of operators eventually sending a
token back to the input of the for operator. When count reaches zero, the
input token is sent to the lower branch (labelled 0 ). As count is
decremented, its current value is interactively displayed on the igraph.
When you run the igraph again, the current value of count will revert to the
value stored as the parameter.