General Declarations

The first part of a template file is the general declarations. All commands are described in the following table:

Command Explanation
Name Name of the template.
Description Description of the template file.
Author Author information.
Version Version information.
Target Should point to file, disk or any.
ReadOnly If Yes, it locks the target and prevents the user from editing it.
Offset Starting offset of the template within the target. Use 0 for start.
Repeats If Yes, then the template is applied throughout the target.
RepeatSkip If Repeats=No it is ignored. Else, it indicates the number of bytes between two structures.
Validate If Yes, then the editor checks to see if the real value of a record is identical with the nomimal.
Vertical If Yes, then all records are shown simultaneously. If no, then each record is shown independently and flow controls are visible.

Example:

[General]				// Required
Name=MyTemplate				// Name
Description=Sample template header.	// Description
Author=Hackman's Crew
Version=1.0.0.a
Target=file				// template may be used on a file only
ReadOnly=No				// User can edit the file w/ the template
Offset=0				// start from the beginning of the file
Repeats=				// Apply just once
RepeatSkip=				// Ignored because Repeats=No
Validate=Yes				// Validate the structure 
Vertical=Yes				// Put each record in a row.

Back.