Re: INLIST not liking constants -- gives error

Author: Ed Leafe

Posted: 2001-09-25 at 16:33:13

On Tuesday 25 September 2001 04:17 pm, Michael Babcock supposedly said:

> Error msg: "Command contains unrecognized phrase/keyword."

>

> Guess I can't do this, assuming parms 2+ are constants, because it can'=

t

> identify the type?

>

> #define APPROVE "approve"

> #define APPROVED "approved"

> #define MET "met"

> #define NOTMET "not met"

>

> inlist(lcRCAD,APPROVE,APPROVED,MET)

>

> I suppose I'll change them back to variables instead. :-(

I just tried it, and it worked without an error.

=09

Do you have any other #DEFINEs or #INCLUDEs that could be messing things=

up?

___/=A0

/=A0

__/=A0

/=A0

____/=A0

Ed Leafe=A0

http://leafe.com/

©2001 Ed Leafe