Hi Andy,
I already got my answer from Sergey, and it works fine.
What I want to do is type "red" in a method() and it's replaced with "RETURN DEFAULT( myParms )". The script would have to read the LPARAMETERS line in the method() and repeat them in the DEFAULT().
>Hi Bill
>
>>>>I'd like to be able to type a word in method code and have VFP 7.0 run a prg.
>
>Can you give an example of what you mean? Do you want to call a script or actually run an external program?
>
>YOu can do both, but they require different techniques...:)
Bill Morris