PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
DataType (Function)
In French: TypeVariable
DataType is kept for backward compatibility. This function will still be supported in the forthcoming version.
Since version 8, DataType is replaced by TypeVar, more efficient.
The documentation about DataType available in WINDEV 5.5 is as follows.
 
Purpose
Identifies 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
    6Simple 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.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment