Is there a simple way to create an array of 50 floating point numbers, and then duplicate it?
Such as-
make myArray[50] --create an array of 50 elements
duplicate myArray myArray2, myArray3, myArray4 -- make three copies of myArray
array creation and duplication
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: array creation and duplication
Hi kwinkler,
Of course you need to replace WHATEVER with values of your choice!
Best
Klaus
Code: Select all
...
repeat with i = 1 to 50
put WHATEVER into myArray[i]
end repeat
put myArray into myArray2
put myArray into myArray3
put myArray into myArray4
...

Best
Klaus
Re: array creation and duplication
Thanks Klaus,
I suspected it would be something like that. Since I have dozens of arrays, I was hoping to save some space.
I suspected it would be something like that. Since I have dozens of arrays, I was hoping to save some space.
Re: array creation and duplication
Hi kwinkler,
don't shoot the messenger!
Best from germany
Klaus
don't shoot the messenger!

Best from germany
Klaus