TestStatus function


Function
The function returns TRUE, if status of object is the same as particular one which is defined by parameter Stat. If not, it returns FALSE.

Status name Meaning
Normal Valid value
Undefined Undefined value
Out of Range Out of range
Error Error
Div by Zero Dividing by zero

Declaration
= TestStatus(DDEreference,Stat)

Parameters
DDEreference DDE reference in the format D_2000|STATUS!objname or D_2000|ARCH_STATUS!blname.
Stat Status: InLimit, VLL, LL, HL, VHL, Transient, Default, Weak, Weak CMD, Weak ANS, Limits problem.

Example
= TestStatus(D_2000|STATUS!U.Kx_O2_Ref_Plyn,Normal)

Related pages:

Napíšte komentár