Steve,
The "PARAMETERS" statement belongs to a method not to a class.
DEFINE CLASS ...
FUNCTION GetPrice
PARAMETER MyPrice
...
RETURN ...
>I have a class called Format_Prices with a parameter statements up at top like this
>parameters MyPrice
>.... the program
>return MyPrice
>
>? myClass.FormatPrice("12.98749")
>
>When I use this class to format prices within a vfp it works great. However, if I
>build this class into a VFP DLL, I run into the following problem:
>The line with the "parameters MyPrice" returns an error Code 16 error in this line.
>If I remove the parameter statement, then build the DLL, it works.
>
>Do I need the "parameters myPrice" statement or don't I? Why would
>
>Thanks Steve
--sb--