Repetir Veces

From StarLogo Nova Wiki
Revision as of 18:36, 14 August 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
The Repeat Times Block

Repeats the procedure(s) a specified number of times.

Syntax

Inputs in this block:

  1. a number

Example

In this model each agent leaves a stamp of a color which is repeated 15 times before it moves to the next color and repeats. Note that without the use of the yield statement the instructions would be completed in one tick of the clock.