(form "00230" (size 80 15)
  (heading "DEFINE A MAP")
  (field "map_name" (position 20  3) (display_length 20)
    (input disallowed))

  (scroll_block "main" (position  2 5) (size 76  8) (extra  0  1)
    (scroll_size 76 500) 
    (repeat interactive (grow 0 1) (instances 1 (min 1) (max 500)))
    (top
    )
    (main
      (field "entity_name" (position 1  0) (display_length 12) (input allowed)
        (initialise (value "entity_name(-1)"))
        (translate upper) (null allowed) (max_length "PLT_OBJECT_NAME_LENGTH")
        )
      (field "location" (position 16  0) (display_length 12) (input allowed)
        (null allowed) (max_length 26)
        (file (link "id_range(0)") (extension "*.str,*.not"))
        (initialise (value "location(-1)"))
        )
      (field "id_range" (position 32  0) (display_length 12) (input allowed)
        (max_length "MAX_RNG_LENGTH") (null allowed)
        (initialise (value "id_range(-1)"))
      )
      (field "string_range" (position 46 0) (display_length 12) (input allowed)
        (null allowed) (max_length 32) (format range)
        (initialise (value "string_range(-1)"))
      )
      (field "segment_range" (position 60 0) (display_length 12)
        (input allowed)
        (null allowed) (max_length 32) (format range)
        (initialise (value "segment_range(-1)"))
      )
    )
  )
  (default_buttons)
)
