Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

VAL returns a real value for numeric strings and zero for non-numeric strings and can check the value status of parameters (PENDING, DETERMINED, available

Syntax

  1. VAL(StrExpr$StrExpr$)
  2. VAL("PENDING:ParName")
  3. VAL("DETERMINED:ParName")
  4. VAL("VALUE:ParName")

Arguments

  • StrExpr$ is StrExpr$ is a string value or expression.
  • "PENDING:ParName" returns 0 if ParName has a DETERMINED value and 1 if ParName has a PENDING value
  • "DETERMINED:ParName" returns 1 if ParName has a DETERMINED value and 0 if ParName has a PENDING value
  • "VALUE:ParName" returns value of ParName in tree status:

...