[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Convertion de typeType Conversion
[Thread Prev] | [Thread Next]
- Subject: Convertion de typeType Conversion
- From: Fabien Bodard <gambas.fr@xxxxxxxxx>
- Date: Sun, 14 Dec 2025 12:21:48 +0100
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
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
| Re: Convertion de typeType Conversion | Lee <t.lee.davidson@xxxxxxxxx> |