object-form

Generic Function

Package: common-graphics

Arguments: object &optional package

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