9 Jun
1997
9 Jun
'97
4:52 a.m.
I translated a C program to Pascal once that had enumerated types, and in order to use typedefs like that, you need to re-arrange and improvise. What I did was put all enums as constants and set them to their appropriate values. You might be able to use $define's to acheive the desired effect. ----------
Is it possible to specify the value of an enumerated type? I was trying to port a C header file which did something like this:
typedef enum hello_everybody { hello_error = -1, hello_first = 0, hello_second, hello_third ...
Can this be done with GPC?
10676
Age (days ago)
10676
Last active (days ago)
0 comments
1 participants
participants (1)
-
Orlando Llanes