-
u *if,val1, oper, val2, base:
条件语句
val1, val2:
待比较的值(也可是字符,用引号括起来)
oper:
逻辑操作(当实数比较时,误差为
1e-10
)
eq,
ne, lt, gt, le, ge, ablt, abgt base:
<
/p>
当
oper
结果为逻辑真时的行为
lable:
用户定义的行标志
stop:
将跳出
anasys
exit:
跳出当前的
do
循环
cycle:
跳至当前
do
循环的末尾
then:
构成
if-then-
else
结构
注意:不允许跳出、
跳进一个
do,if
循环至
label
句
?
*IF
,
VAL1
,
Oper1
,
VAL2
,
Base1
,
VAL3
,
Oper2
,
VAL4
,
Base2
Conditionally causes commands to be
read.
APDL
:
Process Controls
MP ME ST PR PRN <> <> FL EM <> <> PP <>
Argument Descriptions
VAL1
First
numerical
value
(or
parameter
which
evaluates
to
a
numerical
value) in the
conditional comparison operation.
VAL1
,
VAL2
,
VAL3
,
and
VAL4
can also be character
strings (enclosed in quotes) or
parameters for
Oper
= EQ and NE only.
Oper1
Operation label. A tolerance of 1.0E-10
is used for comparisons
between real
numbers:
EQ --
Equal (for
VAL1
=
VAL2
).
NE --
Not equal (for
VAL1
≠
VAL2
).
LT --
Less than (for
VAL1
<
VAL2
).
GT --
Greater than
(for
VAL1
>
VAL2
).
LE --
Less than or
equal (for
VAL1
GE --
VAL2
).
Greater than or equal (for
VAL1
ABLT --
VAL2
).
Absolute
values of
VAL1
and
VAL2
before < operation.
ABGT --
Absolute values of
VAL1
and
VAL2
before > operation.
VAL2
Second
numerical
value
(or
parameter
which
evaluates
to
a
numerical
value) in the
conditional comparison operation.
Base1
-
-
-
-
-
-
-
-
-
上一篇:车牌倾斜校正 英文原文及翻译
下一篇:造船专业英语词汇