When building an SRecode based application, you will need to setup your dictionary values yourself. There are several utility functions for this.
In the simplest form, you can assocate a string with a variable.
For section macros, you can have alternate values. A section can either be toggled as visible, or it can act as a loop.
You can add several dictionaries to the same section entry. For each dictionary added to a variable, the block of codes in the template will be repeated.
If optional argument SHOW-ONLY is non-
nil, then don't add a new dictionarly if there is already one in place. Also, don't add FIRST/LAST entries. These entries are not needed when we are just showing a section.
Each dictionary added will automatically get values for positional macros which will enable SECTIONS to be enabled.
- The first entry in the table.
- Not the first entry in the table.
- The last entry in the table
- Not the last entry in the table.
Adding a new dictionary will alter these values in previously inserted dictionaries.