PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App 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
Component : wd240vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment