Difference between revisions of "Complete Example Scripts"
Jump to navigation
Jump to search
→Enabling ReferenceAliases using an array
imported>Terra Nova2 m (→Enabling ReferenceAliases using an array: Changed the syntax.) |
imported>Terra Nova2 |
||
Line 850: | Line 850: | ||
While (myArraylength) | While (myArraylength) | ||
myArrayLength -= 1 | myArrayLength -= 1 | ||
myAliasArray[ | myAliasArray[myArrayLength].GetReference().Enable() | ||
debug.trace("References that have been enabled:" !myAliasArray[ | debug.trace("References that have been enabled:" !myAliasArray[myArrayLength].GetReference().IsDisabled()) | ||
EndWhile | EndWhile | ||
Line 859: | Line 859: | ||
While (myArrayLength) | While (myArrayLength) | ||
myArrayLength -= 1 | myArrayLength -= 1 | ||
myAliasArray[ | myAliasArray[myArrayLength].GetReference().Enable() | ||
debug.trace("References that have been disabled:" !myAliasArray[ | debug.trace("References that have been disabled:" !myAliasArray[myArrayLength].GetReference().IsDisabled()) | ||
EndWhile | EndWhile | ||
endif | endif |