I am trying to run while loop in kdb through command line (linux environment) and it fails to run it whereas when i run it from ide in windows environment, it runs just fine. what could be causing this?
(Looping in kdb+ is to be avoided - try using vector ops or adverbs for iterating over lists instead.)
What error does it fail with? Can you post an example?
Can you provide us some examples please?
I figured it out. apparently, i needed to align my square brackets while closing the loop. non alignment was causing issues.