#LOCALDATA (default local data declarations) 

Top  Previous  Next

 

#LOCALDATA

    declarations

#ENDLOCALDATA

#LOCALDATA

Begins a default local data declaration section.

declarations

Data declarations.

#ENDLOCALDATA

Terminates the default local data declarations.

The #LOCALDATA structure contains default data declarations local to the procedure generated by the #PROCEDURE procedure Template. The declarations are then available to the programmer through the Data button on the Procedure Properties dialog. #LOCALDATA may only be placed in a #PROCEDURE, #CODE, #CONTROL, or #EXTENSION section of the Template. The declarations will appear in the generated procedure between the keywords PROCEDURE and CODE.

Example:

#LOCALDATA

Action   BYTE         !Disk action variable

TempFile  CTRING(65)     !Temporary filename variable

#ENDLOCALDATA