You can create tables using @table tag. Within @table tag, only two tags are allowed: @row and @rowHead. @rowHead creates a heading row (usually you will put only one such row as the first row of the table), @row creates normal row. Within @row and @rowHead tags, you must put only some number of @cell tags. Finally, within @cell tag, you can put any text, use other @-tags etc.

Simple example:

   1 { This functions returns boolean value according to the following table:
   2 
   3   @table(
   4     @rowHead( @cell(Value1) @cell(Value2) @cell(Result) )
   5     @row(     @cell(@false) @cell(@false) @cell(@false) )
   6     @row(     @cell(@false) @cell(@true)  @cell(@true) )
   7     @row(     @cell(@true)  @cell(@false) @cell(@true) )
   8     @row(     @cell(@true)  @cell(@true)  @cell(@false) )
   9   ) }
  10 function ExclusiveOr(Value1, Value2: boolean): boolean;

Notes:

Things to avoid:

TableTags (last edited 2007-10-28 22:57:06 by localhost)