object-symbol

Generic Function

Package: common-graphics

Arguments: object &optional package

Returns a symbol derived from an arbitrary object. When a command that acts on a symbol (such as trace or quick-symbol-info) is invoked in the Allegro development environment, the default selected-symbol method finds a symbol to apply the command to by calling object-symbol on the selected-object of the selected window. Object-symbol may return nil if a symbol cannot be derived in some reasonable way from the object. Object-symbol is bypassed if there is a more specific selected-symbol method for a particular command and selected window; these more specific methods sometimes exist when it is not sufficient to funnel through the general selected-object in order to derive a selected-symbol for the window.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.