JokerMartini
03-02-2012, 02:11 PM
I've got across a few scripts here online which ran arrays through a function which the function contained a for-loop inside of it.
I was wondering if someone could better explain or reference a document that would help me understand why there is a "&" by the array. What does that exactly control or do.
myArr = ($box001,$box002,$box003)
fn doingStuff arr = (
for obj in arr do....
)
on button pressed do (
doingStuff &myArr
)
I was wondering if someone could better explain or reference a document that would help me understand why there is a "&" by the array. What does that exactly control or do.
myArr = ($box001,$box002,$box003)
fn doingStuff arr = (
for obj in arr do....
)
on button pressed do (
doingStuff &myArr
)
