get_name(object)

Package :
lang
Type :
procedure

Return the name of the object. For a record this is the type name; for a class it is the class name, for a procedure the procedure name, for a file the filename and for a window the window name. For all other types, this method fails.

Source