I want to parse k expressions, but?-5! only seems to work on q expressions:
q)parse
k){$[“\”=*x;(system;1_x);-5!x]}
q)-5!“{til x+1}”
{til x+1}
q)-5!“{!x+1}”
'!
q)-5!“k){!x+1}”
')
q)k)-5!“{!x+1}”
'!
q)k)-5!“k){!x+1}”
')
ta, jack.
I want to parse k expressions, but?-5! only seems to work on q expressions:
q)parse
k){$[“\”=*x;(system;1_x);-5!x]}
q)-5!“{til x+1}”
{til x+1}
q)-5!“{!x+1}”
'!
q)-5!“k){!x+1}”
')
q)k)-5!“{!x+1}”
'!
q)k)-5!“k){!x+1}”
')
ta, jack.
Did you check the documentation ?
http://code.kx.com/wiki/Reference/BangSymbolInternalFunction#.E2.88.925.21x
http://code.kx.com/wiki/Reference/parse
parse is impemented on -5!, which can only parse q expressions.
Moreover what do you mean that you want to parse k expressions ?
What do you expect as a result ?
kim
Am 03.09.2012 11:32, schrieb Jack Andrews:
I want to parse k expressions, but -5! only seems to work on q expressions:q)parse
k){$[“\”=*x;(system;1_x);-5!x]}
q)-5!“{til x+1}”
{til x+1}
q)-5!“{!x+1}”
'!
q)-5!“k){!x+1}”
')
q)k)-5!“{!x+1}”
'!
q)k)-5!“k){!x+1}”
')
ta, jack.
You received this message because you are subscribed to the Google Groups “Kdb+ Personal Developers” group.
To post to this group, send email to personal-kdbplus@googlegroups.com.
To unsubscribe from this group, send email to personal-kdbplus+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/personal-kdbplus?hl=en.