#GLOBALDATA (default global data declarations) 

Top  Previous  Next

 

#GLOBALDATA

  declarations

#ENDGLOBALDATA

#GLOBALDATA

Begins a default global data declaration section.

declarations

Data declarations.

#ENDGLOBALDATA

Terminates the default global data declarations.

The #GLOBALDATA structure contains default data declarations global to the program. The declarations are then available to the programmer through the Data button on the Global Properties dialog. #GLOBALDATA may be placed in a #PROGRAM, #PROCEDURE, #CODE, #CONTROL, or #EXTENSION section of the Template. The declarations will appear in the global data section of the generated source code.

Example:

#GLOBALDATA

Action   BYTE         !Disk action variable

TempFile CSTRING(65)  !Temporary filename variable

#ENDGLOBALDATA