Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
SDF supports a range of features related to tables inlcuding:
In fact, SDF can do lots of very clever things with tables including spreadsheet-like calculations on cells and ranges of cells!
Tables are usually defined via the table filter. For example:
!block table Fruit Comments Tropical: mango a fruit-bat favorite banana great for smoothies Other: Tomato often matched with basil !endblock
or:
!include "fruits.tbl"; table
The table filter expects a table definition in a simple text format (called TBL) where:
The header record specifies the field names and the layout. Fields can be placed in fixed-width columns or delimited by a special character. Fixed-width format (as shown above) is usually used.
See the SDF Reference for further details on TBL format.
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog