Ask the user to specify a real number.
This function waits for user input of a real number and returns that real number. You can supply a prompt argument asking the user to enter a number.
Examples
Code | Returns |
---|---|
(getreal) [type -5] |
no response -5.0 |
(getreal
"Scale factor: ") [type 5 |
Scale factor 5.0 |
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |