12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

¤£ ¢prdef pattern ... — As above, except only macro names matching pattern arelisted, where pattern may contain the metacharacters ? or * .lsdef — Lists the name and the number of characters in each macro definition.lsdef pattern ... — As above, except only macro names matching pattern arelisted, where pattern may contain the metacharacters ? or * .undef name ... — Removes the named macros, which can be ordinary macros,macro functions or cdef() macros.cdef("name", string [ "key" [, flags ]]) — Defines parts of chained macros. Achained macro definition is maintained in pieces that can be selectivelyincluded to form the complete macro definition. The argument name is thename of the macro. The argument string contains a piece to add to themacro.The chained macro can have three parts: abeginning, a middle and an end.Pieces included in each of the parts of the macros are sorted lexicographicallyby the keys when putting together the macro definition. Pieces without a keyare placed in the middle in the order in which they were added, but after anymiddle pieces that include a key.The key argument allows a piece to be selectively replaced or deleted, and alsocontrols the order in which the piece is placed into the macro definition. Theflags argument controls whether the pieces are added to the beginning or tothe end of the macro, and also whether the pieces should be selectivelyincluded in the definition depending on whether key is the mnemonic of a configuredmotor or counter.The bit meanings for flags are as follows:£ ¤©¡¤£ ¥ ¡§¢¡ ©¡£¥ ¡ § ¡ £ ¢¡ £ ¡ ¢ ¢£ ¤©¡¤£ ¥ ¡§¢¡ ©¡£¥ £ § ¡ £¢¡ £¡¤£¥ ¢ ¢ ¢ ¥ ¡¤£ ¤ ¢ ¡¤££ ¡ £¡¢ ¥¨§ ¢§ ¤ ¡ ¥ § ¥ ¡¤£ ¤ £ ¥ ¥¨§ ¢§ ¤ ¡ ¥ §If flag is the string "delete" ,the piece associated with key is deleted fromthe table. If the name is the null string, the piece associated with key isdeleted from all the chained macros. If key is the null string, the flags haveno effect.The cdef() function will remove any existing macro defined using def orrdef . However, the commands lsdef , prdef and undef will function withchained macros.When <strong>spec</strong> starts and when the reconfig command is run (or the configmacro is invoked), all the chained macros are adjusted for the currentlyINTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION REFERENCE MANUAL 91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!