Category
Syntax
(Used as a parameter in macros, or as part of `Team Category`)
Parameters
See Remarks.
Description
A keyword used in macros (.RSM files) as a placeholder for a value (like a division name) to be passed in from a main listing file. It is also used as part of the Team Category command.
Remarks
The documentation provided mainly describes the use of parameters in a macro, where %1, %2, etc., are placeholders for values. In the example, CATEGORY is a user-defined field, not a command itself, and it is being filtered using the Select command where %1 is a parameter.
Examples
Example of using a CATEGORY field within a macro file (CATRES.RSM) to filter results based on a passed-in value (%1):
* CATRES.RSM file
Header
Results for %2 Category
.end of header
select CATEGORY
= %1
Field NAME
...etc...
Example of the main file (@CATRES.LST) that calls the macro:
CATRES.RSM MALE "Male Only"
CATRES.RSM FEMALE "Female Only"
CATRES.RSM MIXED "Male & Female"
CATRES.RSM FAMILY "Family Group"