You can use .Q.qt also to know if its table or not. It returns bollean result.
On May 12, 2014 12:32 AM, "Daniel o keeffe" <email@example.com> wrote:
> I'm trying to exectute a simple conditional evaluation statement. I have a table t listed in tables.
> $ [t; [action one]; [action two]
> I keep getting a type error. Is there some unique way to use tables in conditional evaluation?? I've tried if t not null, t in tables, count t > 0, etc, It keeps giving me the same error. Evaluation works for variables but I can't get it to recognise the table, and this is the only way I can think to get the function to work.
> I just need to check if the table exists. i know this is probably pretty simple i just can't figure it out.
> All help appreciated.
> You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
> To post to this group, send email to email@example.com.
> Visit this group at http://groups.google.com/group/personal-kdbplus.
> For more options, visit https://groups.google.com/d/optout.
Tel: +44 (0)28 3025 2242
Tel: +1 (212) 447 6700
Tel: +61 (0)2 9236 5700