Navigation:  Reference > Structure Definition Commands >

MEMBER DYNSZ

Previous pageReturn to chapter overviewNext page

This command add a new member of the structure and only have sense inside BEGIN STRUCTURE .. END STRUCTURE commands.

Syntax:

MEMBER DYNSZ <memberName>

 

<memberName>

Name of the structure member.

Description:

Allocate a buffer with a provided string including always a trailing \0 and store the pointer into the structure. Return a character string up to the first \0. Assigning NIL will release the allocated memory.

 

Remarks:

Buffer will not be released automatically. You will assign NIL explicitly after use this kind of members or you app will consume heap memory.