| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Logic and Source Generation Control >====== Template Language Reference ====== | [[text text box .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[source generation control.htm|{{btn_next_n.gif|Next page}}]] | | || [[tlr01open.htm|{{c6h0069.jpg|C6H0069}}]][[tlr01open.htm| Introduction]] [[tlr02open.htm|{{c6h0069.jpg|C6H0069}}]][[tlr02open.htm| Template Organization]] [[tlr03open.htm|{{c6h0069.jpg|C6H0069}}]][[tlr03open.htm| Defaults and Template Data]] [[tlr04open.htm|{{c6h0069.jpg|C6H0069}}]][[tlr04open.htm| Programmer Input]] [[tlrcontents.htm|{{c6h0070.jpg|C6H0070}}]][[tlrcontents.htm| Logic and Source Generation Control]] [[template logic control statements.htm|Template Logic Control Statements]] [[ for generate code multiple times .htm|#FOR (generate code multiple times)]] [[ if conditionally generate code .htm|#IF (conditionally generate code)]] [[ loop iteratively generate code .htm|#LOOP (iteratively generate code)]] [[ break break out of a loop .htm|#BREAK (break out of a loop)]] [[ cycle cycle to top of loop .htm|#CYCLE (cycle to top of loop)]] [[ case conditional execution structure .htm|#CASE (conditional execution structure)]] [[ indent change indentation level .htm|#INDENT (change indentation level)]] [[ insert insert code from a group .htm|#INSERT (insert code from a #GROUP)]] [[ call insert code from a group without indention .htm|#CALL (insert code from a #GROUP, without indention)]] [[ invoke insert code from a named group .htm|#INVOKE (insert code from a named #GROUP)]] [[ return return from group .htm|#RETURN (return from #GROUP)]] [[file management statements.htm|File Management Statements]] [[ create create source file .htm|#CREATE (create source file)]] [[ open open source file .htm|#OPEN (open source file)]] [[ close close source file .htm|#CLOSE (close source file)]] [[ read read one line of a source file .htm|#READ(read one line of a source file)]] [[ redirect change source file .htm|#REDIRECT (change source file)]] [[ append add to source file .htm|#APPEND (add to source file)]] [[ section define code section .htm|#SECTION (define code section)]] [[ remove delete a source file .htm|#REMOVE (delete a source file)]] [[ replace conditionally replace source file .htm|#REPLACE (conditionally replace source file)]] [[ print print a source file .htm|#PRINT (print a source file)]] [[source generation statements.htm|Source Generation Statements]] [[ generate generate source code section .htm|#GENERATE (generate source code section)]] [[ abort abort source generation .htm|#ABORT (abort source generation)]] [[ suspend begin conditional source .htm|#SUSPEND (begin conditional source)]] [[ release commit conditional source generation .htm|#RELEASE (commit conditional source generation)]] [[ resume delimit conditional source .htm|#RESUME (delimit conditional source)]] [[ conditional source line .htm|#? (conditional source line)]] [[external code execution statements.htm|External Code Execution Statements]] [[ run execute program .htm|#RUN (execute program)]] [[ service topspeed internal use only .htm|#SERVICE (internal use only)]] [[ rundll execute dll procedure .htm|#RUNDLL (execute DLL procedure)]] [[tlr06open.htm|{{c6h0069.jpg|C6H0069}}]][[tlr06open.htm| Miscellaneous]] [[tlr07open.htm|{{c6h0069.jpg|C6H0069}}]][[tlr07open.htm| Template Symbols]] [[tlr08open.htm|{{c6h0069.jpg|C6H0069}}]][[tlr08open.htm| Annotated Examples]]