Code: Select all
param none
myArray = returnArray()
tv_warn myArray[0]
Function returnArray()
LOCAL array
array[0] = "carl"
array[1] = "barks"
RETURN array
End
but if I dont declare the "array" variable local I can get what I want like this:
Code: Select all
param none
returnArray()
tv_warn array[0]
Function returnArray()
array[0] = "carl"
array[1] = "barks"
End
-mads[/code]