Class of type

Is it possible to declare a Class as type?
Example :

Class TypeExpression : Double Dim MyValue As TypeExpression

Thank you.

Not sure what the intent of that code is ?
What type would MyValue be ?

Hello Norman,
My question is perhaps more theoretical than anything else but coming from another language where we can declare a type which is used by several variables scattered in the program and it is enough to change the type to change all the variables type. In that example Myvalue type would be Double.

there is nothing like C’s typedef or similar concepts in other languages

the BEST you could do is to create a class which is a thin wrapper on a double and then define all the operator_xxx and operator_convert functions so you can still use it like a double in expressions etc

Feedback case #12252

Thank you Norman, I will proceed like this.