[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'utility' (#aros)

NamedObjectName

Return the name of the object.

Declaration

Source position: utility.pas line 246

function NamedObjectName(

  Object_: PNamedObject

):STRPTR;

Arguments

Object_

  

The object, may be nil in which case this function returns nil.

Function result

A pointer to the name string, or nil if 'object' is nil.

Description

Returns the name of the object passed in... Note that the name string is passed back as just a pointer to a read-only name. If the object goes away, so does the name.

See also

FindNamedObject

  

Find the next object of a given name.

RemNamedObject

  

Remove a named object.


Documentation generated on: 2017-01-10