Skip to main content

Division Commands

Syntax

Division Place division_field
Division Total
Division Place Len length
Division Total Len length

Parameters

  • division_field: The name of the database field that designates the division (e.g., DIV, SEX, RACE). Each unique value in this field defines a separate division.
  • Division Place Len length: Optional. Controls the column width for the division place number. The default is 4 characters.
  • Division Total Len length: Optional. Controls the column width for the division total count.

Description

Computes and displays where each finisher placed within their division, and optionally how many finishers are in that division. A "division" is typically an age group but can be any field -- sex, race distance, club, etc.

Remarks

  • To use Division Place, you must define a field that designates each entrant's division. If you edit the DIVISION file, each entrant's age-group code is automatically entered in the DIV field.
  • Division Total must be placed immediately after Division Place. The combination produces output like 2/23, meaning 2nd place out of 23 in the division.
  • You can include multiple Division Place commands for different divisions. For example, show place within age group and place within sex:
Division Place DIV
Division Total
Division Place SEX
Division Total
  • Division Place Len and Division Total Len let you control column width when space is tight.
  • The related commands Header, Field Length, Field Header, and Squeeze are often used alongside division commands to format the output.

Examples

Results listing with division place and total:

Header
.Include RACENAME
.End of Header
Division Place DIV
Division Total
Division Place SEX
Division Total
Field NO.
.Include FIELDLST
Field AGE
Field SEX
Field DIV
Field CLUB
Field CITY
Event TIME

Where FIELDLST contains:

Field FIRST NAME
Field Header NAME
Field Length 7
Squeeze
Field LAST NAME
Field Header
Field Length 11

Control column width:

Division Place Len 3