Bracket type

The bracket type set with the BracketNumber variable in Label 1 of the bracket type macro.

The BracketNumber variable contains the bracket's type specification (number). In most cases this number is the same as the bracket type number in the file name of the bracket type file. For example, bracket type 765 has a type macro named bracket765.cmd and the type file is named bracket765.

In some cases it is necessary to use several type files for a particular type of bracket. For example, if a bracket has a corner hole only in some situations, or it has a snipe which depends on a question to the user. These additional type files use a letter in their file name, after the type number. For example, bracket765a, bracket765b, and so on. When additional types are defined, the BracketNumber and Sdummy variables must be used in the type macro to set which additional type file is used in a particular situation.

In label 5 of the type macro, all data is gathered and converted for processing by the system. This is done with the VarStr variable.

Example

if Stand90=TRUE : Sdummy=^BracketNumber'a'

else Sdummy=^BracketNumber ; stand='free'

VarStr='TYPE ^ Sdummy R1 '<Ans[1]>' R2 '<Ans[2]>' D '<Ans[3]>;

The TYPE keyword in the VarStr variable defines which type file is used to create the bracket. In the above example, the type file which is used depends on the value of variable Stand90. The Stand90 variable is used to determine whether a bracket is square or not. In other words, whether the angle between the two X-axes of the two main related parts is 90 degrees. See Stand90 variable for more information.