ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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:
    1Integer
    2Unsigned integer
    3Long integer
    6Single real
    7Turbo real
    8Double real
    12Characters and character strings
    (string, fixed string, ASCIIZ string, Pascal string)
    17Short integer and boolean
    18Currency

    PHP The available integers are:
    3Long integer
    8Double real
    12Characters and character strings
    (string, fixed string, ASCIIZ string, Pascal string)
    17Short integer and boolean
  • <Variable name> is a character string containing the name of the variable to identify. No control name can be used.
Component: wd290vm.dll
Minimum version required
  • Version 5
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help