>I need to know because the method being called may or may not have a certain parameter passed in by reference, and this method may call another method in which I would like to know if that parameter is passed in by reference so I know whether or not to pass it into the next method by reference. Make sense??
One way to achieve what you want is just to pass another parameter that says whether the first one was passed by reference:
=MyFunc(SomeParameter, .F.)
=MyFunc(@SomeParameter, .T.)
FUNCTION MyFunc
LPARAMETERS ;
tuSomeParameter, ;
tlWasPassedByReference
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up