Skip to Content
0
Former Member
Jan 06, 2006 at 06:39 AM

dynamically creating a structure

22 Views

Hi,

Is it possible to dynamically define a structure? I know only one field which will be static and the other fields will be obtained only at runtime. I tried a definition which was like:

TYPES: BEGIN of struct1,

FIELD1 TYPE STRING,

INCLUDE TYPE (struct2),

END OF struct1.

But I am unable to do this, the error message says (struct2) is invalid. Can I achieve this in any other way? Thank you.

Regards,

Nithya