|
|
|
|
|
|
Category: WLanguage types |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Alias type is used to declare and handle a logical alias for a data file or query.
|
|
|
|
|
|
|
The ASCIIZ string of type is used to manipulate strings with a null character at the end, denoted by a zero (as in the C programming language).
|
|
|
|
|
|
|
The Boolean type is recommended for all logical operations where only two alternatives are possible...
|
|
|
|
|
|
|
The Buffer type corresponds to a binary memory area.
|
|
|
|
|
|
|
The Character type is used to manipulate a character.
|
|
|
|
|
|
|
Depending on the type of programming, it may be useful to know the correspondence between the types used in C and the types used in WLanguage...
|
|
|
|
|
|
|
The Currency type is used for calculations with a large number of significant digits (up to 17 digits to the left of the decimal point and 6 digits to the right).
|
|
|
|
|
|
|
The Date type is used to easily manipulate dates...
|
|
|
|
|
|
|
The DateTime type allows you to manipulate dates and times...
|
|
|
|
|
|
|
The Duration type is used to easily manipulate intervals of dates and times...
|
|
|
|
|
|
|
The Fixed string of type corresponds to a fixed-length string.
|
|
|
|
|
|
|
The Int type is used to easily perform calculations on integer values...
|
|
|
|
|
|
|
The JSON simplifies actions on data in JSON format.
|
|
|
|
|
|
|
The numeric type is used to contain integer or decimal numbers by specifying if necessary: - the number of digits in the integer part.
- the number of digits in the integer part and in the decimal part.
|
|
|
|
|
|
|
The following operations are available for the following types of variables...
|
|
|
|
|
|
|
The Pascal string of type corresponds to a length-prefixed string (this length is stored as a byte value). This type of variable is kept for backward compatibility.
|
|
|
|
|
|
|
The Real type allows you to perform calculations on real values using up to 15 significant digits.
|
|
|
|
|
|
|
A Rectangle variable is a structured type that is used to represent a rectangle (X, Y, Width, Height) in 2 dimensions.
|
|
|
|
|
|
|
String literals are used to represent and manipulate data as a sequence of characters. For example, string literals can be used to display information, define a constant, etc.
|
|
|
|
|
|
|
The String type is used to manipulate strings...
|
|
|
|
|
|
|
The String of type is used to manipulate fixed-length strings. These strings have a null character at the end, denoted by a zero (as in the C programming language).
|
|
|
|
|
|
|
The Time type allows you to easily manipulate times...
|
|
|
|
|
|
|
The type Unicode string on is a fixed-length string containing only characters in Unicode format.
|
|
|
|
|
|
|
The UUID type is used to easily manage: - UUIDs or GUIDs,
- automatic UUID HFSQL identifiers,
- identifiers for COM/Automation objects and interfaces,
- ...
|
|
|
|
|
|
|
The Variant type is used to: - store any value of simple type: Boolean, Numerical (Monetary, Real, Integer, ...), Character and String, Date (Date, Time, DateTime and Duration), ...
- store named or indexed subelements.
- store any complex type value: structures, classes, advanced types, arrays, associative arrays, queues, stacks and lists.
- handle the NULL value in WLanguage.
- store interactions with ActiveX objects and Automation programming.
|
|
|
|
|
|
|
The different types in WLanguage are...
|
|
|
|
|
|
|
The YAML type simplifies the handling of data in YAML format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|