Skip to content

ModelEntities ForLoop

mitchell-conrad edited this page Jan 19, 2021 · 1 revision

Table of Contents

For Loop

The For Loop entity executes the chain of workload it contains until the Boolean Expression in the left section is satisfied. A Variable Parameter, a Boolean Expression, and a Setter entity are automatically constructed when a For Loop is constructed. The image on the right displays what a For Loop looks like when it is first constructed.

The For Loop example on the right is equivalent to the following C++ code:

int getSum (std::vetor<int> values) {

    int sum = 0;
    int Length = values.size();

    for (int i = 0; i < Length; i++) {
        sum += values[i];
    }

    return sum;
}

Parent

Can be adopted by the below entities:

Children

Can adopt the below entities:

Dependents

This entity does not have any dependent entities.

Dependencies

This entity does not depend on any entities.

Editable Data Fields

This entity does not have any editable data fields.

Edges

This entity does not have any visible edges attached to it.

Clone this wiki locally