[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Convertion de typeType Conversion


Is it exist a function like

Cast(Value as Variant, Type as integer) ?

I know there is "Val" that does that. But I need something that be able to
convert in the way I want

Try MyVariant = Cast(MyVariant, Type)
If error then Error.raise("Not able to convert into type)

.

-- 
Fabien Bodard

Follow-Ups:
Re: Convertion de typeType ConversionLee <t.lee.davidson@xxxxxxxxx>