| Once a file has been created, data may be added to it using the "include" command. The "include" command has two forms, and may be used in a file created by "new" command or in a nested tag command, described in 2.3 of this section (see 2.3, "Replacing data" ). The primary form of the include command is the one parameter include. This command will take the file referenced by the first parameter and include it after the current data. The secondary form of the include command is the two parameter include. The parameters consist of both a filename, the first parameter, and a wide tagname within the file, the second parameter. This include command will go into the specified file, pull out all text within the first occurance of the wide tag specified in the second parameter, and include that data after the current data. The two parameter form of the include command is particularly useful for including bits and pieces of long copy or headers that aren't convenient to keep in database form, and for including features of a template as described in 1.3 of the previous section (see 1.3, "Inserting tags in comments" ). By using this command form, you can keep your data modular. Modular data, in turn, is easy to change without unforeseen negative consequences. After including data in either form of the include command, the tags in the included data are available to the tag command for replacement. |
© Copyright 1997-1999 Dataczar Technologies. All rights reserved. |