printlnSignal I/O:Printing and Displayprintlnprintks
Prints at k-rate using a printf() style syntax, appends a new line
Description
Prints at k-rate using a printf() style syntax. This opcode is similar to printsk, the
only difference being that println appends a new line to each message
Syntaxprintln "string", [, xval1] [, xval2] [...]Initialization"string" -- the text string to be printed. Can be up to
8192 characters and must be in double quotes.
Performancexval1, xval2, ... (optional) -- The k-rate values to be printed.
These are specified in string with the standard C
value specifier (%f, %d, %s etc.) in the order given.
Print Output Formatting
All standard C language printf() control characters may be used. For example, if kval1 = 153.26789 then some common formatting options are:
%f prints with full precision: 153.26789%5.2f prints: 153.26%d prints integers-only: 153%c treats kval1 as an ascii character code.
For more information about printf() formatting, consult any C language documentation.
Examples
Here is an example of the println opcode. It uses the file println.csd.
Example of the println opcode.See alsoPrinting and DisplayCreditsBy: &nameeduardo; 2020New plugin in version 6.15