| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Complete Alpha Listing >====== #GLOBALDATA (default global data declarations) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[ generate generate source code section .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ group reusable statement group .htm|{{btn_next_n.gif|Next page}}]] | | || **#GLOBALDATA** //declarations// **#ENDGLOBALDATA** {{blk2blue.jpg|blk2blue.jpg}} | **#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**