(form "00674" (size 76 20)
  (heading "ENTER CONSTRAINTS")
  
  (label 
    (position 16 2) 
    (foreground (user_option "form_text_highlight"))
    (text "EXAMPLES:-  press a button for an example of a constraint")
  )
  
  (menu (position 18 4) (size 13 1)
    (item (text "STRING")
	(function "00675")
    )
  )
  (menu (position 31 4) (size 13 1)
    (item (text "Y VALUE")
	(function "00678")
    )
  )
  (menu (position 44 4) (size 13 1)
    (item (text "X VALUE")
	(function "00679")
    )
  )
  (menu (position 18 5) (size 13 1)
    (item (text "LINE")
	(function "00680")
    )
  ) 
  (menu (position 31 5) (size 13 1)
    (item (text "Combine")
	(function "00681")
    )
  )
  (label 
    (position 2 7) 
    (foreground (user_option "form_text_highlight"))
    (text "REFERENCES - parenthesised items are optional")
  )
  
  (scroll_block "prompts" (position 2 8) (size 71 3) 
    (scroll_size 71 4)
    (main
      (label (position 3 0) (text "(NOT)"))
      (label (position 11 0) (text "INSIDE"))
      (label (position 21 0) (foreground (user_option "form_text_highlight")) 
                             (text "STRING"))
      (label (position 37 0) (text "loc"))
      (label (position 44 0) (text "id rng"))
      (label (position 52 0) (text "(str rng)"))
      (label (position 59 0) (text "(seg rng)")) 
      (label (position 3 1) (text "(NOT)"))
      (label (position 11 1) (text "ABOVE"))
      (label (position 21 1) (foreground (user_option "form_text_highlight"))
                              (text "Y VALUE"))
      (label (position 37 1) (text "y coord"))
      (label (position 3 2) (text "(NOT)"))
      (label (position 11 2) (text "ABOVE"))
      (label (position 21 2) (foreground (user_option "form_text_highlight"))
                              (text "X VALUE"))
      (label (position 37 2) (text "x coord"))
      (label (position 3 3) (text "(NOT)"))
      (label (position 11 3) (text "ABOVE"))
      (label (position 21 3) (foreground (user_option "form_text_highlight"))
                              (text "LINE"))
      (label (position 37 3) (text "x coeff"))
      (label (position 44 3) (text "y coeff"))
      (label (position 52 3) (text "const"))
    )
  )
  (scroll_block "constraints" (position 2 12) (size 71 4)
    (scroll_size 71 4)
    (repeat interactive (grow 0 1) (instances 4 (min 4) (max 26)))
    (main
	(field "not" (position  3  0) (display_length  3) (input allowed)
	    (value_in "" "NOT") (translate upper) (null allowed) (max_length 3))
	(field "op" (position 11  0) (display_length  6) (input allowed)
	    (value_in "" "INSIDE" "ABOVE") (translate upper) 
	    (null allowed) (max_length 6))
	(field "contype" (position 21  0) (display_length 13) (input allowed)
	    (value_in "" "STRING" "Y VALUE" "X VALUE" "LINE" ) (translate upper) 
	    (null allowed) (max_length 10))
	(field "location" (position 36  0) (display_length  4) (input allowed)
	    (max_length 26) (translate lower) (null allowed))
	(field "id" (position 44  0) (display_length  3) (input allowed)
	    (max_length 16) (null allowed))
	(field "rnga" (position 51  0) (display_length  5) (input allowed)
	    (max_length 32) (null allowed))
	(field "rngb" (position 59  0) (display_length  5) (input allowed)
	    (max_length 32) (null allowed))
    ))
  (label (position  3 17) (text "Constraint combination"))
  (field "conexp" (position 22 17) (display_length 50) (input allowed)
    (null allowed) (max_length 512)
    )
  
  (default_buttons)
)
