KDB How to cause infinite loop without recursion -
Is there any expression that causes an infinite loop in KDB?
It loops or recursion.
A statement, including a scan or execution, can trap you in an infinite loop. Something like this:
{sqrt x} \ [[x> gt; 0]; 100]
This will take the square root of the previous output continuously (with initial input of 100) until the answer will no longer remain> x> 0 then the first argument is effectively slightly longer, even if we Do not use that key word. What were you looking for?
Comments
Post a Comment