DataType (Function) In french: TypeVariable
Warning
DataType is kept for backward compatibility. This function will still be supported in the forthcoming version. Since version 8, DataType is replaced by TypeVar, which is more efficient. Below is the documentation of DataType , available in WINDEV 5.5.
| Purpose Identifying the type of a WLanguage variable.Syntax <Result> = DataType(<Variable name>)- <Result> is an integer that identifies the type of variable:
| | 1 | Integer | 2 | Unsigned integer | 3 | Long integer | 6 | Single real | 7 | Turbo real | 8 | Double real | 12 | Characters and character strings (string, fixed string, ASCIIZ string, Pascal string) | 17 | Short integer and boolean | 18 | Currency |
The available integers are: | | 3 | Long integer | 8 | Double real | 12 | Characters and character strings (string, fixed string, ASCIIZ string, Pascal string) | 17 | Short integer and boolean | - <Variable name> is a character string containing the name of the variable to identify. No control name can be used.
|
This page is also available for…
|
|
|
|