println
Prints at k-rate using a printf() style syntax like printks, appends a new line.
Syntax
Initialization
"string" -- the text string to be printed. Can be up to 8192 characters and must be in double quotes.
Performance
xval1, 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.
See also
Credits
By: Eduardo Moguillansky 2020
New plugin in version 6.15