GetReal Method |
Gets a real (double) value from the user.
Signature
RetVal = GetReal([Prompt])
Object
Utility
The object or objects this method applies to.
Prompt
Variant (string); input-only; optional
The text used to prompt the user for input.
RetVal
Double
The value returned from the user.
Remarks
AutoCAD pauses for user input of a real value, and sets the return value to the value that the user enters. The Prompt parameter specifies a string that AutoCAD displays before it pauses. The prompt is optional.
If a keyword is returned instead of a double, AutoCAD will generate the error message "User input keyword." Use the GetInput method to obtain the keyword from the return value.
Comments? |