printarrayArray Opcodesprintarrayprintarray
Print the contents of an array
DescriptionPlugin opcode in emugens.
Prints the contents of an array
Syntaxprintarray ixs[] [, Smft, Slabel ]printarray kxs[] [, ktrig, Sfmt, Slabel ]InitializationSfmt - If given, it is passed to printf for
each element of the array. Otherwise a default format is used
Slabel - If given, it is printed before the
contents of the array, to easily identify the data
Performancektrig - The array will be printed whenever
this value changes from 0 to possitive. Can be used together
with metro to print at a given time interval. A value of -1
indicates to print at each k-cycle (default = 1)
Examples
Here is an example of the printarray opcode. It uses the file printarray.csd.
Example of the printarray opcode.See alsoPrinting and DisplayArray opcodesCreditsBy: &nameeduardo; 2018New plugin in version 6.12