Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a bug ?
Message
De
07/03/2001 09:50:04
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
07/03/2001 05:28:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00482615
Message ID:
00482672
Vues:
8
Kueh,

I'll pass this along to the VFP team.



>Dear all,
>
>I have build an COM dll in VFP7 Beta 1 and then view dll using the
>OLE/Object View and it seems that VFP treat integer as long datatype (refer
>to function addnumbers). Is this a bug or behavior as designed? Thanks.
>
>Regards,
>Kueh.
>
>Sample code.
>
>DEFINE CLASS sample1 AS CUSTOM OLEPUBLIC
>
>
>Function echostring(teststring AS String ) AS String
>
> RETURN testString
>EndFunc
>
>Function addnumbers(NumberOne AS Integer , NumberTwo as Integer ) AS integer
>
> RETURN NumberOne + NumberTwo
>
>EndFun
>
>Function subtractnumbers(NumberOne as long, NumberTwo as long ) as long
> RETURN NumberOne - NumberTwo
>EndFun
>
>ENDDEFINE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform