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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -