Closed altenmueller closed 11 years ago
The trailing semicolon is suppressing the output to the console? See q)port:zsocket.bind[socket; `$"tcp://*:9001"]; q)port 9001i q)
Kdb+ 2.8 is the earliest version tried and it'll be soon marked unsupported as everything will move to 3.0 or above. Sorry don't have 2.7 to try out.
Ah, my bad. You are correct. My apologies.
Consider the following trivial example:
This works fine, and you will see the port number printed out to the q console which indicates that the port bound properly. Now notice if you add a semicolon after the bind line:
Now the bind does not occur. I'm still pretty new to q, but as far as I can tell semicolons shouldn't affect the calls of functions.
BTW this is KDB+ 2.7 2011.03.23 if that helps at all.