ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 occurs. 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
wlInt4-byte signed integer
wlReal8-byte real
wlStringCharacter string
wlTimeTime
PHP The available types are:
wlBooleanBoolean
wlInt4-byte signed integer
wlReal8-byte real
wlStringCharacter string
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help