Me - Operator (Access own object)

Concerns

This operator allows access to your own object.

For example, the operator allows you to determine the class name from which the object was created:

MyClass := Me

You can also change the object to another class:

Me := "Washing machine"

Also, a structure variable of the object can be accessed in functions, even if a local variable with the same name has been created.

Example of determining the value of a class variable while maintaining a local variable with the same name

Function Sample() As Void

   Dim Visible As Boolean

  

   Visible := True #Sets the local variable Visible true

  

   Me.Visible := True #Sets the variable Visible of the Object

  

  

End Function

 

Example of object switching with assignment of a class name to Me

Function Sample() As Void

   Me := "Dish washer"

  

  

   MsgBox(Me:"Dish washer".program)

End Function