Page 1 of 1

Not sure why I can't set(array,value,position)

Posted: 25 Feb 2013 03:29
by mh175
I have a project level variable "a". I'd like it to be an array of 3 values.

The manual says that I should be able to change any of the values of "a" to whatever I value want.

But

Code: Select all

set(a,12,0);
doesn't seem to do anything.

Any ideas?

Thanks in advance!

Re: Not sure why I can't set(array,value,position)

Posted: 25 Feb 2013 03:54
by Macciza
Hi
Hmm, maybe try being explicit
a=(set(a,12,0);

Re: Not sure why I can't set(array,value,position)

Posted: 25 Feb 2013 04:41
by mh175
Yessir, that did it. Thank you again!