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 (PENDINGDETERMINED, available)

Syntax

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

...

Examples

VAL("445.02")

returns

445.02


VAL("NullString")

returns

0


VAL("Qnowledge")

returns

0


VAL("PENDING:X")

returns

0 if 0 if X has a DETERMINED value and

1 if 1 if X has a PENDING value


VAL("DETERMINED:X")

returns

1 if 1 if X has a DETERMINED value and

0 if 0 if X has a PENDING value


 

Quick links: Function Functions overview | Attribute overview | Constants overview | Dimensions overview