(form "00250" (size 53 15) (mismatch ignore)
  (heading "DEFINE SETOUT OPTIONS")
  (label (position  2  3) (text "Define the note file to create"))
  (label (position  2  4) (text "Location"))
  (label (position  2  5) (text "ID number"))
  (label (position  2  6) (text "Extension"))
  (label (position  2  7) (text "Purpose"))
  (label (position  2  8) (text "(A)ngles or (B)earings"))
  (label (position  2  9) (text "(S)egments or (P)oints"))
  (label (position  2  10) (text "Reference angle"))
  (label (position  2 11) (text "If setouts are by bearings this angle is ignored"))
  (label (position  2 12) (text "Select Backsight and Setup graphically"))
  (label (position  2 13) (text "Setout notes to include point"))
  (field "ref_angle_units_label"  (position  30  9) (display_length 17)
    (input allowed) (default "(ddd.mmss)"))
  (field "oloc" (position 12  10) (display_length 26) (input allowed)
    (translate lower) (null disallowed) (max_length 26)
    (file output (link "orid")))
  (field "orid" (position 12  5) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (help (field "oloc")))
  (field "extension" (position 12  6) (display_length 10) (input allowed)
    (null disallowed) (max_length 10)
    (value_in ".not" ".csv" ".htm" ".html" ".rtf" ".pdf" ".ps"))
  (field "purpose" (position 12  7) (display_length 32) (input allowed)
    (null allowed) (max_length 32)
    )
  (field "layoutopt" (position 26  8) (display_length  1) (input allowed)
    (value_in "A" "B")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "seg_or_pt" (position 26  9) (display_length  1) (input allowed)
    (value_in "S" "P")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "bsang" (position 26  10) (display_length 10) (input allowed)
    (translate upper) (format dms_angle) (null disallowed) (max_length 10)
    (low_bound 0) (high_bound 6.283185307)
    )
  (field "select" (position 38 12) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "numbers_or_descriptions" (position 38 13) (display_length  12)
    (input allowed) (value_in "numbers" "descriptions")
    (translate lower)
    )
  (default_buttons)
)
