|
...for RPG and am having some difficulties, especially with the data
Also I am standing before the task of creating procedure prototypes
_neo_err *next). AFAIK this is not possible in RPG. Is there a workaround?
typedef struct _neo_err
{
...
/* internal use only */
struct _neo_err *next;
} NEOERR;
Here the structure has a subfield with the type of itself ( struct
typedef enum
{
/* Unary operators */
CS_OP_NONE = (1<<0),
CS_OP_EXISTS = (1<<1),
CS_OP_NOT = (1<<2),
CS_OP_NUM = (1<<3), ...
} CSTOKEN_TYPE;
typedef struct _arg
{
CSTOKEN_TYPE op_type;
char *argexpr;
...
} CSARG;
How would I define the CSTOKEN_TYPE subfield in an RPG data structure?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.