Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare Enums in VFP
Message
From
08/04/2003 11:47:56
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00775115
Message ID:
00775119
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform