PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • String type and Unicode string
  • System integer
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
Identifies the type of an expression, a variable (during a call to a procedure for example) or a control.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
PROCÉDURE MyProcedure(Parameter)
TypeVar(Parameter)
Syntax
<Result> = TypeVar(<Expression>)
<Result>: Integer
Identifies the type of variable or control value.
0 for the controls that return no value (button, OLE control, ...).
wlAutomation32Automation object
wlBoolean1Boolean
wlBuffer
(wlBinaryString)
28Buffer
wlCharacter81Character
wlString
  • 19
  • 16 (value possible from version 17)
Character string
Versions 17 and later
Caution: the wlString constant can correspond to an Ansi string or to a Unicode string according to the project configuration:
  • in a project compatible with version 16, this constant is set to 19,
  • in a Unicode project, this constant is set to 16.
New in version 17
Caution: the wlString constant can correspond to an Ansi string or to a Unicode string according to the project configuration:
  • in a project compatible with version 16, this constant is set to 19,
  • in a Unicode project, this constant is set to 16.
Caution: the wlString constant can correspond to an Ansi string or to a Unicode string according to the project configuration:
  • in a project compatible with version 16, this constant is set to 19,
  • in a Unicode project, this constant is set to 16.
Versions 17 and later
wlAnsiString
New in version 17
wlAnsiString
wlAnsiString
19Character string
wlASCIIZString23ASCIIZ string
wlFixedString22Fixed string
wlPascalString21Pascal string
wlUnicodeString16Character string in Unicode format
Versions 20 and later
wlControl
New in version 20
wlControl
wlControl
138Control
wlOLEControl33OLE control
Versions 20 and later
wlCombination
New in version 20
wlCombination
wlCombination
136Combination
wlConnection70Connection
wlDate24Date
wlDateTime26DateTime
wlFileDescription53Description of HFSQL file
wlLinkDescription55Description of HFSQL link
wlItemDescription54Description of HFSQL item
wlDuration27Duration
Versions 20 and later
wlEnumeration
New in version 20
wlEnumeration
wlEnumeration
135Enumeration
wlInt8Signed 4-byte integer
wlInt_16Signed 1-byte integer
wlInt_27Signed 2-byte integer
wlInt_89Signed 8-byte integer
wlUnsignedInt_12Unsigned 1-byte integer
wlUnsignedInt_23Unsigned 2-byte integer
wlUnsignedInt_44Unsigned 4-byte integer
wlUnsignedInt_85Unsigned 8-byte integer
wlQueue515Queue
wlHandle15Window handle
wlTime25Time
wlInstance37Class instance (object)
wlList513List
wlBinaryMemo30Binary memo
wlCurrency10Currency
wlNumeric13Numerical
Versions 20 and later
wlDotNetObject
New in version 20
wlDotNetObject
wlDotNetObject
72.NET object
wlStack514Stack
Versions 21 and later
wlPoint
New in version 21
wlPoint
wlPoint
150Point
wlFont65Font
Versions 23 and later
wlProcedure
New in version 23
wlProcedure
wlProcedure
61Procedure
Versions 21 and later
wlRectangle
New in version 21
wlRectangle
wlRectangle
151Rectangle
wlReal128-byte real
wlReal_4114-byte real
Versions 23 and later
wlSQLQuery
New in version 23
wlSQLQuery
wlSQLQuery
152SQL query
wlDataSource20Data source
wlStructure36Structure
wlArray34Array
wlAssociativeArray62Associative array
wlComposedVariable35Composite variable
wlVariant31Variant
<Expression>: Character string
Name of WLanguage variable or control whose type is requested.
wlBoolean1Boolean
wlInt8Signed 4-byte integer
wlReal128-byte real
wlString16Character string
wlVariant31Variant
wlArray34Array
Remarks

String type and Unicode string

In Mobile, a Unicode string is considered as being a string:
MyString is UNICODE string
TypeVar(MyString) // returns wlString
In WINDEV or WEBDEV, a Unicode string is considered as being a Unicode string:
MyString is UNICODE string
TypeVar(MyString) // returns wlUnicodeString

System integer

  • The system integer automatically adapts to the size supported by the compilation mode (4 bytes for a program compiled in 32 bits, 8 bytes for a program compiled in 64 bits).
  • For an application compiled in 32 bits, TypeVar returns 8 (wlInt).
  • For an application compiled in 64 bits, TypeVar returns 9 (wlInt_8).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment