Index
2001-09-25 15:42Lam K Le : RE: INLIST not liking constants -- gives error
2001-09-25 16:17Michael Babcock : INLIST not liking constants -- gives error
2001-09-25 16:33Ed Leafe : Re: INLIST not liking constants -- gives error
2001-09-25 16:42Michael Babcock : Re: INLIST not liking constants -- gives error (DISREGARD!)
Back to top
RE: INLIST not liking constants -- gives error

Author: Lam K Le

Posted: 2001-09-25 15:42:20   Link

#define APPROVE "approve"

#define APPROVED "approved"

#define MET "met"

#define NOTMET "not met"

inlist(lcRCAD,APPROVE,APPROVED,NOTMET)

***********

That's odd. I put the above in a PRG and I don't get that error with VFP6

SP5.

Can you elaborate? What version of VFP and OS, etc.

___

Lam

©2001 Lam K Le
Back to top
INLIST not liking constants -- gives error

Author: Michael Babcock

Posted: 2001-09-25 16:17:37   Link

Error msg: "Command contains unrecognized phrase/keyword=2E"

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=2E :-(

Michael J=2E Babcock, MCP

Keystone Peer Review Organization

vfpmcp@hotmail=2Ecom

www=2Evfpdevassoc=2Eorg

"Work smarter; not harder=2E"

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

©2001 Michael Babcock
Back to top
Re: INLIST not liking constants -- gives error

Author: Ed Leafe

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

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
Back to top
Re: INLIST not liking constants -- gives error (DISREGARD!)

Author: Michael Babcock

Posted: 2001-09-25 16:42:18   Link

Forget it=2E=2E=2E=2EI got it=2E=2E=2E=2E=2Esilly typo in declaration in code!

>>> "mbabcock@kepro=2Eorg" 09/25/01 04:34PM >>>

Error msg: "Command contains unrecognized phrase/keyword=2E"

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=2E :-(

Michael J=2E Babcock, MCP

Keystone Peer Review Organization

vfpmcp@hotmail=2Ecom www=2Evfpdevassoc=2Eorg "Work smarter; not harder=2E"

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

=20=

©2001 Michael Babcock