KX Community

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

Home Forums KX Academy like comparison Reply To: like comparison

  • rocuinneagain

    Member
    April 3, 2024 at 3:57 pm
    q)type"t" // t is a character atom - 'like' expects a character vector 
    -10h 
    q)type"IBM" // IBM is a character vector 
    10h 
    q)type enlist "t" // You can enlist an atom to be a single item vector 
    10h 
    q)type (),"t" // (), is useful as a conditional enlist. It enlists the atom 
    10h 
    q)type (),"IBM" // It does not enlist the vector 
    10h