Returns user input of a distance.
This function uses the underlying OdEdBaseIO functions putString and getString for low level output and input.
If prompt is an empty string, a default prompt string is used.