8 28 8 AS Operator

LANSA Technical

8.28.8 *AS Operator

You can perform type casting of component reference variables using the *AS operator. The following code fragment illustrates the syntax of the *AS operator:

If ((#Object1 *As #Prim_Form).Visible = True)
Set #COM_OWNER Left((#Object1 *As #Prim_Form).Left) 
EndIf
 

Ý 8.28 Enhanced Expressions