template::adp_prepare (private)

 template::adp_prepare

Defined in packages/acs-templating/tcl/parse-procs.tcl

Executes the code to prepare the data sources for a template. The code is executed in the stack frame of the calling procedure (adp_parse) so that variables are accessible when the compiled template code is executed. If the preparation code executes the set_file command, the procedure will recurse and execute the code for the next template as well.

Returns:
boolean (0 or 1): whether the (ultimate) script was found.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: