From OpenSCADAWiki
Jump to: navigation, search

Data cell (TVariant)

Data:
Error values for the different data types (definition):

  • EVAL_BOOL — Error value of the boolean type (2);
  • EVAL_INT — Error value of the integer type (-2147483647);
  • EVAL_REAL — Error value of the real type (-3.3E308);
  • EVAL_STR — Error value of the string type ("<EVAL>").
  • EVAL_INT16 — Error value of the integer 16 type (-32767);
  • EVAL_INT32 — Error value of the integer 32 type (-2147483647);
  • EVAL_INT64 — Error value of the integer 64 type (-9223372036854775807ll);
  • EVAL_RFlt — Error value of the real type Float (-3.29E38f);
  • EVAL_RDbl — Error value of the real type Double (-1.79E308).