ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
  • 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
PROCEDURE MaProcédure(Paramètre)
TypeVar(Paramètre)
Syntax
<Result> = TypeVar(<Expression>)
<Result>: Integer
Identifies the type of variable or control value.
<Expression>: Character string
Name of WLanguage variable or control whose type you want to get.
Remarks

String type and Unicode string

In Mobile, a Unicode string is considered as being a string:
MaChaîne is string UNICODE
TypeVar(MaChaîne) // renvoie wlChaîne
In WINDEV or WEBDEV, a Unicode string is considered as being a Unicode string:
MaChaîne is string UNICODE
TypeVar(MaChaîne) // renvoie wlChaîneUnicode

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: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/06/2024

Send a report | Local help