Cancel
Showing results for 
Search instead for 
Did you mean: 

MUS init

Pioneer
Pioneer

I have used init Method to create 15 containers, but it only genrated 8 container.

I have used for loop

 

Thank you for suggestions

1 REPLY

Re: MUS init

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
the second parameter of create sets the position on the object; your line is 128 meter, if you use as position I*15 the last position will be 225 m, so the create method fails
try this:

for var i:= 1 to 15
.BEs.Förderhilfsmittel.create(l1,i*8)
next
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net