Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

set elements to 42 back

for (int i = myArray.Length - 1; i >= 0; i--)
{
    // Do something
    myArray[i] = 42;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #elements
ADD COMMENT
Topic
Name
3+2 =