CustomizeExtras.mesa
Copyright Ó 1992 by Xerox Corporation. All rights reserved.
Christian Jacobi, April 29, 1992 8:52 pm PDT
Christian Jacobi, April 30, 1992 10:21 am PDT
Features which ought to be exported from Customize.
DIRECTORY
Customize USING [DB, DBreadonly];
CustomizeExtras: CEDAR DEFINITIONS =
BEGIN OPEN Customize;
CopyDB: PROC [source: DBreadonly] RETURNS [copy: DB];
Makes a funny <copy> of the <source> data base, such that
... later changes to <copy> do not affect <source> in any way
... later changes to <source> may or may not affect <copy>
MergeDB: PUBLIC PROC [into: DB, from: DBreadonly, overwrite: BOOL ¬ TRUE];
Copies the entries of <from> into <into>. (This modifies <into>.)
<overwrite> decides action in case of conflicting entries. If <overwrite>, the <from> entry will be used, othewise the <into> entry will prevail.
END.