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
VariantConvert (Function)
In French: VariantConvertit
Converts the value stored in a Variant variable.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 19
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 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.
Versions 22 and later
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 22
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Example
PROCÉDURE MyProcedure(Parameter)
// Retrieve the parameter in a variant
vVariant is Variant = Parameter
// Convert the variant into string
VariantConvert(vVariant, wlString)
Syntax
<Result> = VariantConvert(<Variant> , <Type>)
<Result>: Boolean
  • True if the operation was performed,
  • False if an error occurred. For more details about the problem, use ErrorInfo.
<Variant>: Variant
Name of the Variant variable.
<Type>: Integer constant
Identifies the type into which the content of the Variant variable must be converted.
wlBooleanBoolean
wlIntSigned 4-byte integer
wlCurrencyCurrency
wlReal8-byte real
wlCharacterCharacter
wlStringCharacter string
wlDateDate
wlTimeTime
wlDateTimeDateTime
wlDurationDuration
wlBinaryStringBinary string
PHP The available types are:
wlBooleanBoolean
wlIntSigned 4-byte integer
wlReal8-byte real
wlStringCharacter string
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment