ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
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
VariantConvert (Function)
In french: VariantConvertit
Converts the value stored in a Variant variable.
Example
PROCEDURE 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.
wlBinaryStringBinary string
wlBooleanBoolean
wlCharacterCharacter
wlCurrencyCurrency
wlDateDate
wlDateTimeDateTime
wlDurationDuration
wlIntSigned 4-byte integer
wlReal8-byte real
wlStringCharacter string
wlTimeTime
PHP The available types are:
wlBooleanBoolean
wlIntSigned 4-byte integer
wlReal8-byte real
wlStringCharacter string
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help