- UID
- 251197
- 积分
- 225
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2005-4-28
- 最后登录
- 1970-1-1
|
发表于 2005-6-30 16:38:00
|
显示全部楼层
int
acedGetReal(
const char * prompt,
ads_real * result);
prompt Description to come
result Description to come
Pauses for user input of a real value, and sets result to the value that the user enters. The prompt argument specifies a string that acedGetReal() displays before it pauses. The prompt is optional; if you don't use it, pass a null pointer instead of a string value. The result argument must point to a memory area large enough to store a double-precision floating-point number.
The AutoCAD user can enter any valid real value, but the user cannot respond to acedGetReal() by entering an AutoLISP expression.
The acedGetReal() function returns one of the following: RTNORM if it succeeds, RTERROR if it fails, or RTCAN if the user cancels the request (by entering [Ctrl]+[C]). A prior call to acedInitGet() can also enable return values of RTNONE or RTKWORD. |
|