simlogo1

 

 

 

SimQuest 6.4 help

 

 

Replicate

 

When applied to a number and an object, Replicate produces an array whose size is determined by the number and each element of which is equal to the object.
It has three variables: numberOfCopies, object, and array.

 

Example:

       replicate(3, a) = (a, a, a)

 

 

 

Related topics:

 

 

 

Copyright University of Twente 2011