Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class vs DLL
Message
From
20/09/2004 16:20:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00944057
Message ID:
00944214
Views:
20
>DEFINE CLASS testclass as Session olepublic	
>PROCEDURE 	FormatPrice(myPrice as String) 				
>Parameters MyPrice
>*** rest of code
>EndProc
>EndDefine
Why are you declaring the parameter twice? Would this code work better:
DEFINE CLASS testclass as Session olepublic
PROCEDURE FormatPrice
Parameters MyPrice AS String
*** rest of code
EndProc
EndDefine
? alltrim(oVfpDll.FormatPrice(myPrice)
There is a ")" missing at the end of this command
Previous
Reply
Map
View

Click here to load this message in the networking platform