G
Gokul
We are facing an unusual problem with variables in a global structure.
These variables are assigned values like mad all over the application.
Agreed, it is a bad design. The application has been running Ok so
far. The problem is, these variables are not assigned properly
anymore.
typedef struct order {
int order_id;
int order_seq;
.
.
.
} ORDER_REC;
After assigning values, the values are shifted to the variables
declared above them. The value of order_seq is seen in order_id and
order_seq remains zero. This is the case with all the other variables.
Move a level up !. Is this a known issue with assigning variables in a
global structure ?
Rgds,
Gokul
These variables are assigned values like mad all over the application.
Agreed, it is a bad design. The application has been running Ok so
far. The problem is, these variables are not assigned properly
anymore.
typedef struct order {
int order_id;
int order_seq;
.
.
.
} ORDER_REC;
After assigning values, the values are shifted to the variables
declared above them. The value of order_seq is seen in order_id and
order_seq remains zero. This is the case with all the other variables.
Move a level up !. Is this a known issue with assigning variables in a
global structure ?
Rgds,
Gokul