Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class vs DLL
Message
De
20/09/2004 16:20:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00944057
Message ID:
00944214
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform