Hi Laurie
Would have been ok but I had a few (10 I think) cases in the structure and
this would not have worked for that. The way it was, had been done so that
it excluded it from further code if indeed there was numbers in it and nTa
was one of them.
I have it working now as I said by filling an empty tList with "none". This
worked with AND tList <> "none" in the middle. And anyway even if it had got
past that the nTa was always numeric and there are no numbers in "none".
At least I know now and memory permitting will not get bitten again.
Al

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Laurie
Alvey
Sent: 24 May 2015 12:07
To: [email protected]
Subject: Re: inlist

Hi Allen,

Breaking up the code something like this works:

nTa = 0
tlist = ""

DO CASE
CASE nTa > 0 AND NOT EMPTY(tlist)
       IF NOT INLIST(nTa,&tlist)
             * do something
       ELSE
             * do something else
       ENDIF
ENDCASE

Laurie



_______________________________________________
Post Messages to: [email protected]
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/003401d0960a$4c12bc40$e43834c0$@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.

Reply via email to