2014.05.11 12:02 PM
2014.05.11 12:05 PM
2014.05.11 12:09 PM
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" <doktordiversity@gmail.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 personal-kdbplus+unsubscribe@googlegroups.com.
> To post to this group, send email to personal-kdbplus@googlegroups.com.
> Visit this group at http://groups.google.com/group/personal-kdbplus.
> For more options, visit https://groups.google.com/d/optout.
2014.05.11 12:38 PM
$[count tableName;...
2014.05.11 12:53 PM
2014.05.11 03:15 PM
2014.05.11 03:26 PM
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.