TagMaster 2.0 Manual  (Table of Contents)
  Chapter 2 , Section 2    
2.3 Replacing data (Previous) (Next)
 

 

Certain data, called tags, included in a Build file may be replaced with other data within the Build file. The tag command allows you to do this. Tags may only be called after an included file has already been specified.

There are two types of tag commands: The tag command with one parameter and the tag command with two parameters. Both tag commands perform basically the same task, but the nature of the second parameter changes between the two. In both types of tag command, the first parameter defines the tag upon which the command will be effective.

In the tag command with two parameters, the second parameter defines the actual text that the tag referenced by the first command will be replaced with.

The tag command works by finding all short and wide tags of the defined name, and replacing each of them with the referenced data. This is true of all files included into the Build file, and will repeat itself throughout the entire text of the file currently being built to all tag references not already replaced.

In the tag command with one parameter, all lines of Build file commands after the one parameter tag command, and up until the closing end tag command will be included in the specified tag. In this way, tags may be as complex or simple as necessary.

Commands within the two parameter tag command have limited scope. The data included and tagged within the two parameter tag command and its end command is separate from the enclosing data.

 

© Copyright 1997-1999 Dataczar Technologies. All rights reserved.