Hello all,
This is probably really obvious, but has been the bane of my OM-life for some time now. I can’t figure out an elegant way (or any way, really for that matter) to make the last value in a collect, the first value of the loop’s next iteration. I would always create a loop. Here’s an example of what I mean.
initdo: a = random value 0, 500
a + random value 0, 100
collect a
LOOP
last value from collect + random value 0, 100
collect
REPEAT … etc
Like I say, this is probably super obvious, so sorry for wasting anyone’s time, but would be grateful for some advice!