C++
inline int acedGetInt( const ACHAR * prompt, int * result );
File
acedads.h
Description
Deprecated. Gets user input for an integer.
The AutoCAD user can enter any valid (short) integer in the range of -32,768 to +32,767.
The user cannot respond to acedGetInt() by entering an AutoLISP expression.
The acedGetInt() function returns one of the following: RTNORM if it succeeds, RTERROR if it fails, or RTCAN if the user cancels the request (by pressing [ESC]). A prior call to acedInitGet() can also enable return values of RTNONE or RTKWORD.
Parameters
Parameters | Description |
---|---|
prompt | Optional prompt string that acedGetInt() displays before it pauses; for no prompt, pass a NULL pointer |
result | Value entered by the user |
Returns
Pointer to the whole number entered by the user is returned with the result parameter, a memory area large enough to store a (short) integer.
Use Instead
ACCORE_PORT int acedGetInt(const ACHAR * prompt, int & nResult);