>You also cannot use the @ within a return, and can't pass something created as LOCAL or PRIVATE up the chain; only PUBLICs can be seen above the level at whichthey are created.
Not sure that I'm reading this correctly, but just to be clear: You *can* return a value created as LOCAL or PRIVATE.
For example:
function DivideByTwo
lparameter lSomeValue
local lReturnVal
lReturnVal = lSomeValue / 2
return lReturnVal
Take care,
Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC