KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ How to remove or add items from a list Re: How to remove or add items from a list

  • biggorilla

    Member
    April 20, 2022 at 12:00 am

    Hello and the greatest of thanks to the both of you. Lots of useful info. Chin chin.

     

    I have warped headfirst into my next problem which is using these shiny new lists in a conditional.

    I want to compare these two lists, when one item of the same position of each list is greater than the other, I want to put it into a new list with some output. I am encountering a ‘mismatched type’ error despite both lists only containing floats.

    A:$[L1>L2;1;2]

    Here’s the structure I am using. Please help! My knees are weak.

    Thank you