ME pseudo-variable

Purpose

A pseudo object variable to reference the current object.

Syntax

ME.Method1(param)

Remarks

ME is a pseudo-variable, which PowerBASIC automatically defines in every Method and Property.  It is treated as a reference to the current object.  Using ME, it's possible to call any other Method or Property which is a member of the class:  var = ME.Method1(param)

ME can also be assigned to an appropriate object variable, or used as a Sub/Function/Method/Property parameter.

See also

CLASS, INTERFACE (Direct), INTERFACE (IDBind), METHOD, PROPERTY, What is an object, anyway?