Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare Enums in VFP
Message
De
08/04/2003 11:47:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00775115
Message ID:
00775119
Vues:
22
Thanks.

>No but you can use #DEFINE
#DEFINE LSERR_NO_ERROR_LNG  0
>...
>
>>Hi all,
>>
>>Can you define Enums in VFP 8 as in VB 6? This is a VB6 code snippet:
>>
>>Public Enum LSerrorCodeLng
>>   LSERR_NO_ERROR_LNG = 0
>>   LSERR_OUT_OF_MEMORY_LNG = 1
>>   LSERR_UNABLE_TO_OPEN_LOG_FILE_LNG = 2
>>   LSERR_INVALID_NULL_POINTER_LNG = 3
>>   LSERR_INVALID_INPUT_LNG = 4
>>End Enum
>>
ramil
~~ learning to stand still
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform