Finish

Finish 1:

Finalizes the decoration and encloses the formatted values with the prefix and postfix. This method is called after all AddDecor* calls to complete the formatting. It combines all the added values using the separators and encloses the result with a prefix and a suffix. The final result is then available in the sOutput property.

Syntax

METHOD Finish : BOOL

Sample

sPrefix = '('
sSeparator = ', '
sPostfix = ')'

After AddDecor1('value1: %d', 25) and AddDecor1('value2: %d', 100):

sOutput = "(value1: 25, value2: 100)"