Page 1 of 1

Seeding an element of an Array

Posted: Mon Jan 25, 2021 5:49 pm
by bsegura
Hello:

Is there any way in your version of formula script to "Seed an element of an Array"

For example... assign barcount 0 (the first element of the array) the number 0

This could be a way of preassigning a particular variable in an array to 0

Thanks,
Brian

Re: Seeding an element of an Array

Posted: Thu Feb 04, 2021 10:14 pm
by Chris White
Hi Brian,

The Formula languages don't have constructs to set individual elements of an array. The operations are carried out on the entire array.

If you post your end goal maybe someone in the forum could help with the script.

Chris.