compile-unsaved-form

Function

Package: common-graphics

Arguments: form-or-form-module

Compiles and loads the code associated with the form specified by the argument (which can be a form or a form-module), using a temporary file. The default on-initialization function (which is default-init-function) calls compile-unsaved-form when a form being run has unsaved changes (that is, when modified returns true for the form) to allow running a form that has never been saved and to ensure that the form's running window is up to date. This is useful for quickly testing a project without first bothering to save whatever forms its on-initialization function runs.

A custom on-initialization function may want to include a similar call to compile-unsaved-form for these reasons.

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.