Syncopation Software

DPL 9 Help

Display Function (DPL Code)

Display Function (DPL Code)

The DPL display function lets you display strings, string literals, or formatted numbers to the Log. It also lets you annotate a number with leading or trailing text. The display function can have one or two arguments. The first argument represents the string, string literal, or expression you wish to display. It cannot be the name of a series or an array without subscripts. The second argument, which is optional, contains formatting instructions for the first argument.

For example, the function

display(@pi, "%10.4f\n")

causes the following to be printed to the Log


Versions: DPL Professional, DPL Enterprise, DPL Portfolio

See Also

Displaying Unformatted Strings or String Literals

Displaying Formatted Strings or String Literals

Displaying Unformatted Expressions

Displaying Formatted Expressions