Assignment when a value is of a specific class
Posted: Mon May 19, 2025 10:45 am
Hi Chris,
if I remember correctly, there is an operator or expression that lets me assign a value to a variable when it is of a specific type.
Normally I write:
But I was not able to find anything in the help....
Wolfgang
if I remember correctly, there is an operator or expression that lets me assign a value to a variable when it is of a specific type.
Normally I write:
Code: Select all
if oValue is MyClass
oClass := oValue
endifWolfgang