can this expression be written in fewer characters?
? (33+!7),42+!84
what about this one?
??(20+!8),(33+!7),42+!84
ta, jack
can this expression be written in fewer characters?
? (33+!7),42+!84
what about this one?
??(20+!8),(33+!7),42+!84
ta, jack
I assume that the espression is in K and not in Q.My more compact solution would be,/(33 42)+!:'7 8On 11 Apr., 14:34, Jack Andrews <effb…> wrote:> can this expression be written in fewer characters?> ? (33+!7),42+!84>> what about this one?> ? (20+!8),(33+!7),42+!84>> ta, jack</effb…>
To: personal-kdbplus@googlegroups.com
X-Mailer: Apple Mail (2.1257)
.c.e:#:
c)(33+!7),42+!84
14
c)(33+!93)_/7 7
13
c)(20+!8),(33+!7),42+!84
22
c)(20+!106)_/(5#8),2#15
21
But I doubt that this is what you were looking for ;)
Cheers,
Attila
parens aren’t needed
,/33 42+!:'7 84
handles the other one two
,/20 33 42+!:'8 7 84
Thanks kuentang, aaron,
does : mean “monadic” so !: in your expressions mean “monadic !”?
To: personal-kdbplus@googlegroups.com
X-Mailer: Apple Mail (2.1257)
correct
you only need the : if there is no data or verb right next to it
so for example
in !10 ! is monadic
but if you would say
f:!:
l:(!:;.:) /for key and value
or do something like
!:'1 2 3
-:\1 2 3
you need the :
Cheers,
Attila