getreal
 
 
 

Pauses for user input of a real number, and returns that real number

(getreal [msg]) 

The user cannot enter another AutoLISP expression as the response to a getreal request.

Arguments

msg

A string to be displayed to prompt the user.

Return Values

The real number entered by the user.

Examples

(setq val (getreal)) 
(setq val (getreal "Scale factor: "))
See Also