Report.WriteFormatted Method

The WriteFormatted method is a combination of
Write
and Util.FormatString.
If you need to format a string and output it to the report, it is better to use
the method WriteFormatted because it makes the code simpler and
faster to execute.

Usage:The WriteFormatted method is the simplest mechanism to
output complex combinations of data in a report. If you read the
documentation around, you will find many examples using the WriteFormatted
method.

Report.WriteFormatted "Hello {&t}, how are you?", i.NameReport.WriteFormatted "The current time is <b>{&t}</b>:", Now