Topic: APLX Help : System Classes : Properties : self
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'self' property


Read only, character vector

Valid for: All objects

The self property returns the fully-qualified name of an object, including the parent (or parents) separated by period. This contrasts with the name property which returns just the object name without the parent(s).

Note: The self property is unusual in that it can be referenced for a non-existent object without giving an error. In this case, it returns an empty vector. It can thus be used to test for the existence of a particular object.


Topic: APLX Help : System Classes : Properties : self
[ Previous | Next | Contents | Index | APL Home ]