object-string

Generic Function

Package: common-graphics

Arguments: object

Returns a string derived from an arbitrary object. When a command that acts on a string (such as apropos or find-in-files) is invoked in the Allegro development environment, the default selected-string method finds a string to apply the command to by calling object-string on the selected-object of the selected window. Object-string may return nil if a string cannot be derived in some reasonable way from the object. Object-string is bypassed if there is a more specific selected-string 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-string 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.