CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

AutoCAD 2022 开发者帮助

和 (AutoLISP)

2024-5-18 18:41| 发布者: admin| 查看: 88| 评论: 0|原作者: admin|来自: AutoCAD

和 (AutoLISP)

返回所提供参数的逻辑 AND

支持的平台:Windows 和 Mac OS

签名

(and [expr ...])
经验

类型:符号、整数、实数、字符串、T 或 nil

任何表达式。

返回值

类型:T 或 nil

nil,如果任何表达式的计算结果为 ;否则。如果发出时没有参数,则返回 。nilT andT

例子

(setq a 103 b nil c "string")
"string"

(and 1.4 a c)
T

(and 1.4 a b c)
nil

相关参考

  1. 或 (AutoLISP)

路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1   苏公网安备32011402011833)

GMT+8, 2025-3-14 06:18

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部