(form "20270" (size 40 17)
    (help "20270_TIP_0")
    (heading "ASSIGN VALUES FROM STRINGS"    
    )
    (label 
        (position  5  3) 
        (text "Location"
        )
    )
    (field "location" 
        (position 18 3) 
        (display_length 10) 
        (input allowed)
        (translate lower) 
        (null allowed) 
        (max_length 26)
        (file 
            (link "id") 
            (extension "*.str")
        )
        (help "20270_TIP_1")
    )

    (label 
        (position 5 4) 
        (text "Id range"
        )
    )
    (field "id" 
        (position 18 4) 
        (display_length 10) 
        (input allowed)
        (translate upper) 
        (format range) 
        (null allowed) 
        (max_length 16)
        (default "1") 
        (help (field "location"))
    )

    (label 
        (position  5 5) 
        (text "String range"
        )
    )
    (field "str" 
        (position 18 5) 
        (display_length 10) 
        (input allowed)
        (format range) 
        (null allowed)  
        (default "")
        (max_length 26) 
        (help "20270_TIP_2")
    )

    (label 
        (position  5 6) 
        (text "Segment range"
        )
    )
    (field "seg" 
        (position 18 6) 
        (display_length 10) 
        (input allowed)
        (format range) 
        (null allowed)  
        (default "")
        (max_length 26) 
        (help "20270_TIP_3")
    )

    (label 
        (position 5 8) 
        (text "Description Fields for Data"
        )
    )
    (scroll_block "dfields"
        (position 5 10)
        (size 25 2)
        (extra 0 1)
        (scroll_size 25 2)
        (repeat interactive
            (grow 0 1)
            (instances 1
                (min 1)
                (max 99)
            )
        )
        (top
            (label
                (position 2 0)
                (text "D Field"
                )
            )
            (label
                (position 11 0)
                (text "Attribute"
                )
            )
        )
        (main
            (field "dfield"
                (position 1 0)
                (display_length 4)
                (max_length 30)
                (input allowed)
                (format string_field)
                (value_in
                    "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10"
                    "D11" "D12" "D13" "D14" "D15" "D16" "D17" "D18" "D19" "D20"
                    "D21" "D22" "D23" "D24" "D25" "D26" "D27" "D28" "D29" "D30"
                    "D31" "D32" "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40"
                    "D41" "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49" "D50"
                    "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" "D59" "D60"
                    "D61" "D62" "D63" "D64" "D65" "D66" "D67" "D68" "D69" "D70"
                    "D71" "D72" "D73" "D74" "D75" "D76" "D77" "D78" "D79" "D80"
                    "D81" "D82" "D83" "D84" "D85" "D86" "D87" "D88" "D89" "D90"
                    "D91" "D92" "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100"
                )
                (default "D1")
                (help "20270_TIP_4")
            )
            (field "att"
                (position 10 0)
                (display_length 12)
                (max_length 30)
                (input allowed)
                (auto_next off)
                (help "20270_TIP_5")
            )
        )
    )
    (label
        (position 5 13)
        (text "Extension"
        )
    )
    (field "axis"
        (position 18 13)
        (display_length 2)
        (input allowed)
        (value_in "X" "Y" "Z")
        (default "Z")
        (translate upper)
        (auto_next off)
        (help "20270_TIP_6")
    )

    (label
        (position 5 14)
        (text "Constrain?"
        )
    )
    (field "constrain"
        (position 18 14)
        (display_length 2)
        (input allowed)
        (value_in "Y" "N")
        (default "Y")
        (translate upper)
        (help "20270_TIP_7")
    )

    (default_buttons)
)
