Format of this all screen files is as follows:

Any line that begins with two forward slashes is a comment line that is ignored.

The first non-comment line contains the number of fields
    on this screen (memory space is allocated based on this number,
    so if you add fields, increase this number accordingly).

The second non-comment line contains whether the screen
    requires administrator priviledge in order to get to -
    0 = NO, 1 = YES.

From this point forward are the fields of the screen.
    These have the format as follows:

A field number.  This number starts with the (screen number + 1) * 1000 + 1.
    See enum ScreenName in const.h to find the screen numbers. For example,
    the Equipment Configuration screen is screen number 2.
    Thus, its first legal field number is 3001

A row number 0-16 (0 based) that the field is to be started on.

A column number 0-39 (0 based) that the field is to be started on.

A length number (usually 1-40, although it can be larger) 
    that the field will occupy.

The field type 0 = LABEL, 1 = READONLY, 2 = USERINPUT 3 = WRITEABLENONTABABLE 
    (READONLY and USERINPUT correspond to RB Stuart's specification.)
    Label is used for fields that (a) can't change (b) can't have input.  
    Readonly fields can be written to, but not by the operator (can't be tabbed to).
    WRITEABLENONTABABLE are like Readonly fields except that they are stored/retrieved
    from the persist file (like a USERINPUT).  The only field that currently meets
    this definition is the READONLY_OPERATING_TIME.

    If the field type has the number '10' added to it, it is an administrative field
    which will only be displayed if the operator has administrative priviledges,
    e.g. 12 is a USERINPUT ADMINISTRATIVE field.

    If the field type has the number '20' added to it, it is an administrative field
    AND can be overridden.  The example of this is the cable and reel fields, which, 
    if the system has been determined to be single conductor, are overridden to be 
    set to single conduct/truck.
    e.g. 22 is a USERINPUT ADMINISTRATIVE OVERRIDDEN field.

If field type == READONLY or USERINPUT or WRITEABLENONTABABLE, the user input type follows: 
    1 = ACTION, 2 = TEXT, 3 = DIGIT, 4 = STORED
 
If field type == LABEL or user input type == ACTION 
    There will be a line that follows containing the default value.

Else if user input type == TEXT
    If field type == USERINPUT or WRITEABLENONTABABLE
        The next line contains a name for the field which is used by the logging system.
    The next line contains the default value.

Else if user input type == DIGIT
    If field type == USERINPUT or WRITEABLENONTABABLE
        The next line contains a name for the field which is used by the logging system.
    The next line contains the default value.
    There will then be four lines that follow containing:

    1. 0 = integer, 1 = real number
    2. number of decimal places
    3. min value 
    4. max value

Else if user input type == STORED
    If field type == USERINPUT or WRITEABLENONTABABLE
        The next line contains a name for the field which is used by the logging system.
    The next line contains a quantity value.
    There will then be 'quantity' lines, each line containing one value.
    Following this is a line containing the default selection.

If field type is USERINPUT there will be a string of text 
    that will be written to the status line when the field is entered.



Following are examples of each of the types found in the screen files:

A LABEL field:
Field number is 1001
Row number is 3
Column number is 6
Length is 25
field type 0 = Label
field value is CUES K2 INSPECTION SYSTEM

//
//
1001
3
6
25
0
CUES K2 INSPECTION SYSTEM
//
//

A READONLY TEXT field, with a blank default value:

Field number is 4073
Row number is 9
Column number is 10
Length is 25
field type 1 = READONLY
user input type 2 = TEXT
blank line is the default value

//
//
4073
9
10
25
1
2
                         
//
//



A READONLY STORED field,
Field number is 3049
Row number is 4
Column number is 26
Length is 6
field type 1 = READONLY
user input type 4 = STORED
number of items = 101 indicates there is an enumerated file to read
enum101.txt to get the items, rather than list them here
0 = default selection

//
//
3049
4
26
6
1
4
101
0
//
//

A WRITEABLENONTABABLE TEXT field:
Field number is 6002
Row number is 1
Column number is 30
Length is 10
field type 3 = WRITEABLENONTABABLE
user input type 2 = TEXT
Operating Time is the field name used for logging
0000/00:00 is the default value

//
//
6002
1
30
10
3
2
Operating Time
0000/00:00
//
//


A USERINPUT ACTION field:

Field number is 35002
Row number is 1
Column number is 2
Length is 17
field type 2 = USERINPUT
user input type 1 = ACTION
COPY ID DATABASE is the  default value
<ENTER> to copy ID database is the status line value


//
//
35002
1
2
17
2
1
COPY ID DATABASE?
<ENTER> to copy ID database
//
//

A USERINPUT TEXT field with a blank default value:

Field number is 5010
Row number is 2
Column number is 11
Length is 25
field type 2 = USERINPUT
user input type 2 = TEXT
Pipe ID is the field name used for logging
blank line is the default value
Input Pipe ID is the status line value

//
//
5010
2
11
25
2
2
Pipe ID
                         
Input Pipe ID
//
//

A USERINPUT digit field:

Field number is 8012
Row number is 8
Column number is 10
Field type 2 = USERINPUT
user input type 3 = DIGIT
Preset is the field name used for logging
0.0 is the default value
1 = real number
2 is number of decimal places
-9999.99 is the min value
9999.99 is the max value
Input preset distance is the status line value

//
//
8012
8
10
8
2
3
Preset
0.0
1
2
-9999.99
9999.99
Input preset distance
//
//

A USERINPUT STORED field:

Field number is 4003
Row number is 1
Column number is 10
Length is 5
field type 2 = USERINPUT
user input type 4 = STORED
Font is the field name used for logging
2 is the number of selections
SMALL is the first selection
LARGE is the second selection
0 is the default selection (first)
ARROW UP/DOWN to view font size list is the status line value

//
//
4003
1
10
5
2
4
Font
2
SMALL
LARGE
0
ARROW UP/DOWN to view font size list
//
//
