7.2. Format strings #

OpenCReports supports the same set of format strings as RLIB, with extensions. RLIB and OpenCReports support:

The legacy and the "new style" format strings can only be used in the format() function and the Text element format attribute, due to them being RLIB compatible. They can also be used in the printf function in limited cases, i.e. when formatting a single data value.

OpenCReports also supports a 2nd generation new style format strings with a prefix and a pair of brackets ({}) that embed the format strings. The 2nd generation format strings can also be used with the printf function in a completely unambiguous manner.