MAC=name points to the EDA Macro file TAR=name archive for the TAR (text archive command) MAN=name archive for the MAN command TEA=name TEACH command INF=name INFO command EXP=name EXPLAIN command APR=name archive for the APROPOS commandNote also that <name> may be two things:
(1) a full file specification, i.e. pointing to a text archive
(2) a directory path
If you are typing e.g. MAN BOXPLOT, EDA checks whether name exists: if MAN= contains a file name, EDA treats the file name as an archive, i.e. attempts to extract the item <BOXP> from that archive and if it is found displays it. If MAN= contains a directory path, EDA tries to find a file named BOXP in that directory.
As an example let us look at the beginning of a macro library (which has the same structure as all other text archives).
(1) EDA$TARC &08 (2) &DEMO EDA demo &FEXIST Demo macro: checking file existence, and tell user &STAIR Show letter values as a staircase &SPADOUT produit les etapes DONNE et LILEX pour SPAD (3) // (4) &DEMO (5) !! EDA Demo > This is a short demonstration of EDA > ************************************ (many more text lines) (4) &FEXIST (macro body)Explanations: (1) Is the text archive (TAR) header and contains the identifier 'EDA$TARC'. This identifier is mandatory.
Cols 1-8 'EDA$TARC' identify TAR 9 leave blank for future extensions 10 tag used to identify differnt text items, here & is used (used in the table of contents and body section); if ommitted EDA uses the # tag. 11-12 lenght of item name, here item names can be up to 8 letters, i.e. 8 letters are checked. You might want to set this to 4, when you want to create an archive explaining EDA commands.(2) After the single-line header follows the table of contents (TOC) section, where all items in the file are listed. Note only items tagged correctly are identified as items. The explanatory text following the name of the item can be displayed with the RUN &DIR command, i.e. shows the TOC entries.
(3) The // signal terminates the TOC section. (4) signals the beginning of the item 'DEMO' which then is defined in (5); there is no limitation to the number of texts lines in an item. You should introduce as many (4) (5) sections as entries specified in the TOC section.
It is planned to supply a number of text archives with future versions of EDA.