OPTIMUM - Optimum Weight

The File option is used when the system is asked to lookup the optimum weight of the breed. This is used when either the [show optimum] or the [wtable pseudo labels are called.

The 'Breed' is looked up in the table 'text/weight.txt' - it does not matter about Species - just all add the breeds to the one file:

[Affenpinscher]
 4 / 3 

[Hound Afghan]
[Afghan Hound]
27 / 22.5

[Terrier Airedale]
[Airedale Terrier]
 21.5 Kgs.

[American Cocker Spaniel]
 NS
The system will use the Sex field and return the text before the '/' if sex starts 'M', the text after if Sex starts with 'F' or Unknown if blank. The text 'NS' will return 'Non-Specific. The word 'Kgs.' will be added of not already specified.

This can be regarded as a 'general' weight, in many cases it will be sufficient, however, in the case of Weight Clinics you may want to get an 'ideal weight'. This may not resemble what is returned from the breed file. This question:

[] Ideal weight if not &optimum { [line, 5], [setv opt] }
Will ask for the 'ideal weight', you will be able to see the optimum weight ( reserved word &optimum), if a weight is entered it will be available ( setv opt) for inclusion in text and graphs. It will for the duration of the script be available as &optimum.