inlist

Author: Allen

Posted: 2015-05-20 at 04:31:49

Hi foxgang

I'm not sure if I am lacking coffee this morning but I am having a brain

block with an inlist.

nTa = 0

tlist = ""

I am doing a case and one of them is,

Case nTa > 0 and !empty(tlist) and inlist(nTa,&tlist)

I thought VFP went left to right with AND's. So I expected the case to fall

over with nTa > 0 and continue. And even then the !empty(tlist) should have

got it but it falls over with the inlist. I had to do it this way because

tlist comes from a form/class property. I could cheat and male tlist "none"

as nTa will always be numeric.

Just wondered why. I assume it's the compiler chugging. And if there is a

way.

Al

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/003201d092df$ccf78440$66e68cc0$@com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2015 Allen