Hi ticktick,Enclose variables in brackets to ensure the multipliers are
evaluated as a list (some examples below).When negating a variable you
can use the neg function or multiply by -1.q)show
t:.z.d+"t"$200?100002020.11.25D00:00:05.480000000
2020.11...
Hi Charles,You can read any remote file/script in as a byte stream using
'read1' and then subsequently use '1:' to write this byte stream to a
local file (along with comments)q)`:local_script.q 1:
`:hostname:port"read1`:remote_script.q"Regards,Connor...
Hi Geraldo,One solution using each-right syntax (/:)q)d1:`a`b`c! (1 2; 3
4 5; 6 7 8 9)q)where 5 in/:d1,`bFor simpler dictionary structures (where
the values are atomic) we can use a reverse lookup:q)d1:`a`b`c!
(1;2;3)q)d1?2`bThanksConnor ᐧ
Select and update will have similar performance.If you have a high
number of repeating items and a large table you can greatly benefit from
.Q.fu.http://code.kx.com/wiki/DotQ/DotQDotfuThis will run your function
over the distinct values and then reco...