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