David,
>
function MyFunc( MyParm )
started with VFP3. The same syntax works for UDFs too. The only time I ever use a LPARAMETERS statement is in method code in the class/form designer.
Obviously I've never looked at any of your code. :-) I've gone looking for examples since I stumbled on this a few days ago, and mostly I see LPARAMETERS used. Don't know how I missed this for so long -- maybe because it's not well-documented.