Hi folks. I might be missing something very simple. When I use a function, normally I return a value that is then used locally. For example
Code: Select all
put square_it(6) into tSquare
function square_it pNumber
return pNumber * pNumber
end square_it
tSquare now has value 36.
Now what I am looking for is to say:
Code: Select all
get square_it(6, tSquare)
function square_it pNumber, pVariable
...
end square_it
After calling it, the local value, tSquare, should automatically have the value 36. Assume it has not been declared as global, local, or script local.
Any ideas?