dopostln

part of wslib


a convenience method for posting all items in an array.


also see: dopost


** does not return the object itself **


dopostln

dopost can be used for every object that responds to do. It simply posts every object in the array, each on a new line.


#[ a, b, c, d, e ].dopostln;


dopostln returns an empty string (""), to ensure that the whole array is not posted again when using dopostln on a single line evaluation.


If you use dopostln on a Dictionary it will post each key and value on a new line, separated by ": "


( \freq: 440, \amp: 0.1, \dur: 0.4 ).dopostln;