Ask the user to specify an integer.
This function asks the user to input an integer, and returns that integer. You can include a prompt argument to ask for the integer. The valid integer range is from -2,147,483,648 to +2,147,483,647.
Examples
Code | Returns |
---|---|
(getint) |
7.0 |
(getint "Enter a number: ") |
7.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. |