PDA

View Full Version : connection.print and multiple arguments?



wolever
April 13th, 2010, 00:35
The documentation for `connection.print` suggests that it accepts multiple arguments... But when I try to call it with multiple arguments: `connection.print("a", "b")`, I get an error in the error log saying 'Function "print" invocation failed.'

Am I doing something wrong, or is the documentation incorrect?

(I'm using RS 3.0 build 109120.742 and the documentation I'm reading is at /doc/#/javascript/api/node34.html)

ak
April 13th, 2010, 16:14
Am I doing something wrong, or is the documentation incorrect?


It looks like you are completely right. The multi-parameter usage in connection.print() and connection.println() seems to be broken in last release. this will be fixed in next release.

Thanks for reporting.