Advertisement

changing array property

Started by November 16, 2000 11:09 PM
0 comments, last by slightlywhacked 24 years, 2 months ago
how do I change a property of an array I have array[50].xv = 1 that changes the xv of 50''th "slot" of the array. Now what if i want to do that to the entire array? do I have to loop it through each "slot" or is there a command that will do it for me?
BAHcows go moomoos go cow
Yep, you gotta loop. Now an entirely differant question is why would every element need the same value and could you possibly just store it in a variable by itself.
Keys to success: Ability, ambition and opportunity.

This topic is closed to new replies.

Advertisement