|
Class Number | Class | Minutes | Class Abbreviation |
1 | Girls 14 and under | 10 | F_14 |
2 | Boys 14 and under | 10 | M_14 |
3 | Girls 15 to 20 | 10 | F15_20 |
4 | Boys 15 to 20 | 10 | M15_20 |
5 | Women 75 and up | 10 | F75 |
6 | Men 75 and up | 10 | M75 |
7 | Women 21 to 49 | 20 | F21_49 |
8 | Men 21 to 49 | 20 | M21_49 |
9 | Women 50 and up | 20 | F50 |
10 | Men 50 and up | 20 | M50 |
11 | Women's Open | 20 | FOpen |
12 | Men's Open | 30 | MOpen |
30 | Three Person Pick | 20 | 3Per |
This is done in SD just for fun | |||
Modifying the List of Classes. |
The contents of file barrels.js as posted are: |
addBarrel(3,14.3); addBarrel(1,14.7); addBarrel(5,12.6); // addBarrel(3,17.3); // DUP // addBarrel("A",14.3); // Not a number // addBarrel(1.1,14.3); // not an intger addBarrel(2,16.9); * On a given line anything after // is ignored and are called comments * the commented lines were used for testing and generated warnings |
addBarrel(barrel number,barrel weight); addBarrel(1,14.3); addPerson("State","First Name","Last Name"); addPerson("CA","John","Wayne"); addPerson("","Joe","Foss"); //Leaving state blank used to indicate home state addClassItem(CNum,"CAbbrev",MinPick,"CTitle"); addClassItem(7,"F21_49",20,"Women 21 to 49"); |