Report Assembler makes it easy to dynamically generate a textual report from data. You can insert data values into the report text, and you can change what gets included in the report using conditions.
For example, if you have data like this:
ZombieSpeedMPH: 4.5
IncubationPeriodDays: 2
Then you can write a report template like this:
Your local zombie variety moves at $$ZombieSpeedMPH mph. If you get
bitten, you will turn into a zombie after $$IncubationPeriodDays
[[IncubationPeriodDays != 1]]days.[[IncubationPeriodDays == 1]]day.
Report Assembler takes your report template, works out the conditions and insertions, and gives you the completed report.
Insertions start with two dollar signs, like this: $$DatumName. The
dollar signs and the name after it will be replaced by the actual value
of the data.
Conditions are wrapped in double square brackets, like this:
[[ZombieDeadliness > PirateDeadliness]]. Anything after a conditon
will only be included in the final report if the conditon is true.
These are RA's conditions:
alwaysis always trueneveris never truea == bis true ifaandbare equala != bis true ifaandbare not equala > bis true ifais greater thanba >= bis true ifais greater thanbor equal toba < bis true ifais less thanba <= bis true ifais less thanbor equal tob
Coming soon:
a <10< bis true if a is less thanbby 10 or more