2017.02.26 04:26 PM
2017.02.27 02:41 AM
2017.02.27 05:22 PM
First of all, I think it's best if you could review your logic to see if there is any better way to organize your dispatcher like code.If you still decide that this is the only way you could do it, you may break this long if-else-if cascade into pieces:For example:fun:{$[cond1;:action1;cond2::action2];/to be continued$[cond3;:action3;cond4;:action4];/.....};Something similar to the above.
2017.02.28 01:19 AM
2017.02.28 05:49 PM
This limitation exists in both the 32-bit and the 64-bit versions, I'm afraid.I consider this a good feature, though, as I'd usually consider alternative design patterns of my logic once I hit the need for a if-else-if cascade with more than a few levels. Futhermore, from your single-phrase description, I suspect that there might be better ways to compute the liquidity information you need than using long if-else-if cascades.
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.