Home › Forums › kdb+ › Show or 0N! › Re: Show or 0N!
-
Hi @eletrofone,
As you’ve mentioned, to print strings without the quotes you will need to send the string(s) to the file handle 1 (stdout).
If you to avoid ambiguity with ‘1’ in your code, you could set a variable for re-use e.g.
q)stdout:1; q)stdout each (("hello";"world"),:"n"); hello world // use negative to append newline by default q)stdout:neg 1; q)stdout ("hello";"world"); hello world // note, trailing semi-colon to supress outputting the file handle
Please see here for more info: Handles to files and processes | Basics | q and kdb+ documentation – Kdb+ and q documentation (kx.com)
Cheers,
David