| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Complete Alpha Listing >====== #LOCALDATA (default local data declarations) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[ invoke insert code from a named group .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ loop iteratively generate code .htm|{{btn_next_n.gif|Next page}}]] | | || **#LOCALDATA** //declarations// **#ENDLOCALDATA** {{blk2blue.jpg|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**