ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE


  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Identifies the type of an expression, a variable (during a call to a procedure for example) or a control.
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
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.
wlAnsiString19Character string
wlASCIIZString23ASCIIZ string
wlFixedString22Fixed string
wlPascalString21Pascal string
wlUnicodeString16Character string in Unicode format
wlControl138Control
wlOLEControl33OLE control
wlCombination136Combination
wlConnection70Connection
wlDate24Date
wlDateTime26DateTime
wlFileDescription53Description of HFSQL file
wlLinkDescription55Description of HFSQL link
wlItemDescription54Description of HFSQL item
wlDuration27Duration
wlEnumeration135Enumeration
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
wlSecurePassword160SecurePassword
wlNumeric13Numeric
wlDotNetObject72.NET object
wlStack514Stack
wlPoint150Point
wlFont65Font
wlProcedure61Procedure
wlRectangle151Rectangle
wlReal128-byte real
wlReal_4114-byte real
wlSQLQuery152SQL query
wlDataSource20Data source
wlStructure36Structure
wlArray34Array
wlAssociativeArray62Associative array
wlAdvancedType111Advanced type (JSON, YAML, etc.)
wlUUID154UUID
wlUUID_128154UUID
wlUUID_256155UUID
wlComposedVariable35Composite variable
wlVariant31Variant
<Expression>: Character string
Name of WLanguage variable or control whose type is requested.
wlArray34Array
wlBoolean1Boolean
wlInt8Signed 4-byte integer
wlReal128-byte real
wlString16Character string
wlVariant31Variant
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-bit mode, 8 bytes for a program compiled in 64-bit mode).
  • For applications compiled in 32-bit mode, TypeVar returns 8 (wlInt).
  • For applications compiled in 64-bit mode, TypeVar returns 9 (wlInt_8).
Component: wd280vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment