(form "77007" (size 45 7)
    (heading "Save To DTM file")

    (field "str_loc"
        (position 19 3)
        (display_length 13)
        (max_length 40)
        (translate lower)
        (input allowed)
        (null disallowed)
        (file output (link "str_id") (extension "*.dtm"))
        (help   "Specify the location and Id of the DTM (and string) file to be created.")
    )

    (field "str_id"
        (position 19 4)
        (display_length 13)
        (max_length 26)
        (input allowed)
        (null disallowed)
        (format real_8)
        (help (field "str_loc"))
    )

    (field "purpose"
        (position 19 5)
        (display_length 13)
        (max_length 26)
        (input allowed)
        (null disallowed)
        (value_in "graphics" "plotting")
        (help "Select whether the DTM is for use in graphics (in which case the gamma values are stored in D1 and the map will be planar) or plotting (in which case the gamma values are stored in Z).")
        (default "plotting")
    )

    (field "x"
        (position 19 8)
        (display_length 13)
        (max_length 26)
        (input allowed)
        (null disallowed)
        (format real_8)
        (default "0.0")
    )

    (field "y"
        (position 19 9)
        (display_length 13)
        (max_length 26)
        (input allowed)
        (null disallowed)
        (format real_8)
        (default "0.0")
    )

    (field "z"
        (position 19 10)
        (display_length 13)
        (max_length 26)
        (input allowed)
        (null disallowed)
        (format real_8)
        (default "0.0")
    )

    (default_buttons)
)
