(form "12009" (size 77 17)
  (heading "DEFINE SAMPLE FIELDS FOR PLOTTING")
  (label (position  1  3) (text "Table"))
  (label (position  1  4) (text "Process each element seperately"))
  (label (position  1  5) (text "Combine adjacent samples"))
  (label (position  1  7) (foreground (user_option "form_text_highlight"))
     (text "Define the sample fields and their plotting characteristics"))
  (field "asstable" (position  7  3) (display_length 18)
    (background) (input disallowed))
  (field "element" (position 33  4) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "combass" (position 33  5) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (scroll_block (position  1 10) (size 72  5)
     (extra  0  2)
     (scroll_size 84 10)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 10)))
    (main)
    (top
      (label (position  1  0) (text "Field"))
      (label (position  1  1) (text "Name"))
      (label (position 13  0) (text "Class"))
      (label (position 13  1) (text "Range"))
      (label (position 14  1) (text "Negatives"))
      (label (position 25  0) (text "Bulking"))
      (label (position 25  1) (text "Threshold"))
      (label (position 35  0) (text "No. of"))
      (label (position 35  1) (text "Decimals"))
      (label (position 45  1) (text "Graphs"))
      (label (position 55  0) (text "Graph"))
      (label (position 55  1) (text "Location"))
      (label (position 67  0) (text "Length"))
      (label (position 67  1) (text "per Unit"))
      (label (position 75  0) (text "Maximum"))
      (label (position 75  1) (text "Value")))
    (main
      (field "field" (position  1  0) (display_length  10) (input allowed)
        (max_length 18)
        (null allowed)
        )
      (field "range" (position 13  0) (display_length 10) (input allowed)
        (max_length 64)
        (format range) (null allowed)
        )
      (field "negatives" (position  14 0) (display_length  10) (input allowed)
        (value_in exclusive "as negatives" "as nulls")
        (max_length 18)
        (default "as nulls")
        (null disallowed)
        )
      (field "bulk" (position 25  0) (display_length  8) (input allowed)
        (low_bound -9999999) (high_bound 9999999)
        (default "0")
        (translate upper) (format real_8) (null disallowed) (max_length 8)
        )
      (field "ndec" (position 37  0) (display_length  1) (input allowed)
        (low_bound 0) (high_bound 4)
        (default "2")
        (format integer_4) (null disallowed) (max_length 1)
        )
      (field "graph" (position 45  0) (display_length  3) (input allowed)
        (value_in "bar" "line" "none")
        (max_length 5)
        (default "none")
        (translate lower) (null allowed)
        )
      (field "barpos" (position 55  0) (display_length  3) (input allowed)
        (value_in "left" "right")
        (max_length 5)
        (default "right")
        (translate lower) (null allowed)
        )
      (field "barsize" (position 67  0) (display_length  3) (input allowed)
        (low_bound 0) (high_bound 999)
        (max_length 6)
        (default "1")
        (translate upper) (format real_8) (null disallowed)
        )
      (field "barmax" (position 75  0) (display_length  3) (input allowed)
        (low_bound 0) (high_bound 9999999)
        (max_length 7)
        (default "50")
        (translate upper) (format real_8) (null disallowed)
        ))
   )

  (default_buttons)
)
