User Tools

Site Tools


localdata_default_local_data_declarations_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #LOCALDATA (default local data declarations) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#LOCALDATA

declarations

#ENDLOCALDATA

blk2blue.jpg

#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

localdata_default_local_data_declarations_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1