With the :aimmsFormatString
function you can compose a string that is built up from combinations of numbers, strings and set elements. The :aimmsFormatString
function accepts a varying number of arguments, defined by the conversion specifiers in the format string.
FormatString(
formatstring, ! (input) a literal double quoted string
arguments, ! (input) a list of numbers, strings, and set elements
...
)
- formatstring
A format string that specifies how the returned string is composed. The string should contain the proper conversion specifier for each following argument.
- arguments,...
One or more arguments of type number, string or element. The order of these arguments must coincide with the order of the conversion specifiers in formatstring.
The function returns the formatted string.
For a detailed description of the conversion specifiers in AIMMS see sec:set-expr.string.format
of the Language Reference.