XEROX COMPMODEREC 2 4 1 CompModeRec 1 4 By: Ron Kaplan (Kaplan.pa@Xerox.com) INTRODUCTION This package enables COMPILEMODE-dependent record declarations to be declared so that access and layout for fields of a given record may be specified in a single declaration for different target implementations. OPERATION COMPREC is defined as a new record-defining word ala RECORD, HASHLINK, etc. A COMPREC "declaration" is of the form (COMPREC name . decls) [Declaration] where decls is an alist of (compilemode decl) pairs, where compilemode can be an atomic COMPILEMODE value or a list of such values ala SELECTQ. EXAMPLE Thus (COMPREC FOO (D (DATATYPE (A B))) (PDP-10 (BLOCKRECORD (A B] (È (È(ŠŠ8(ŠŠ8DÈÈ PAGEHEADING RUNNINGHEAD(TERMINAL MODERN MODERN MODERN MODERN MODERNLOGO?1(DEFAULTFONT 1 (GACHA 10) (GACHA 8) (TERMINAL 8))   HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFNMODERN   HRULE.GETFNMODERN  HRULE.GETFNMODERN & Ô s   JI¾7zº