8.4.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