Information générale
Catégorie:
Fonctions Windows API
>Hi People:
>
>I am trying to use a DLL from FoxPro, that was built for Visual Basic. The DLL requires passing arrays and variables as double, long and byte formats. These formats are from the Visual Basic example.
>
> Visual Basic
> Dim a[2] as double
> Dim b[2] as long
> Dim c as byte
>
>In FoxPro, we can only initialize variables as numeric, string or logical. how can I initialize a FoxPro Variable as Double?
>
>
>Steve Ellis
You shouldn't have to worry about it being double. VFP is not very strict about varible typing.
DIM - Declares variables and allocates storage space.
DIM is not the same as DIMENSION in VFP.
Think of it as PRIVATE,PUBLIC,LOCAL. In VFP we don't have to worry about allocating storage space.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement