Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Mathematical apparatus implemented in the the D2000 Calc calculation process D2000 Calc (eval tags) and in process the D2000 Event Handler process (events) operates with these basic value types:

  • Boolean - logical type
  • Integer - integer (cardinal) type
  • Real - real type
  • Absolute time
  • Time interval (relative time)
  • Text
  • HBJ - reference to an object



Boolean type

Values The values of Boolean type are labelled labeled by the predefined identifiers @TRUE and @FALSE.



Integer type

The value range of an Integer type is -9 223 372 036 854 775 808 .. 9 223 372 036 854 775 807.
Note: until version 21.0.70, the value range of an Integer type was -2 147 483 648 .. 2 147 483 647Value range of Integer type is -2147483648 .. 2147483647.



Real type

Value The value range of Real type is 2.3x10308 3x10-308 ≤ |x| ≤ 1.7x10308 7x10308 and zero value (0).



Absolute time type

The forms of values of Absolute time type are hh:mm:ss DD-MM-YYYY or hh:mm:ss DD-MM-YY

  • hh - hour,
  • mm - minute,
  • ss - second,
  • DD - day,
  • MM - month,
  • YYYY or YY - year



Time interval (relative time) type

The form of values of Relative time type is DDD hh:mm:ss

  • DDD - number of days,
  • hh - hours,
  • mm - minute
  • ss - second.

Time The time interval may be also expressed by a real number as a number of seconds.



Text type

Value of Text type represents a sequence of characters with the maximal length of 2500 100 000 symbols enclosed in the quotes (e.g. "text" or 'text'). To display the characters " or ' in a value of Text type, use the character twice (e.g. "text:""hallo""" or 'text:''hallo''').
In case, that a text value exceeds this limit, the system "trims" it automatically to 2500 1000 000 characters and assigns the attribute s_val_Weak (Weak) to the value.



HBJ type

Value A value containing an internal identifier of the D2000 system , that uniquely determines an object. It is used in some special cases. It is compatible with the Integer type, however, it is only 32-bit.