Re: Compile error
From: Michael Mattias (michael.mattias_at_gte.net)
Date: 03/14/04
- Next message: Tom Linden: "Re: (IBM) SHARE - LNGC requirements"
- Previous message: Donald Tees: "Re: Compile error"
- In reply to: Donald Tees: "Re: Compile error"
- Next in thread: KL: "Re: Compile error"
- Reply: KL: "Re: Compile error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 14 Mar 2004 14:46:44 GMT
"Donald Tees" <donald_tees@nospam.sympatico.ca> wrote in message
news:1MX4c.9$Q16.2532@news20.bellglobal.com...
> KL wrote:
> > Can someone help? I have coded this and can't figure out why I get an
error:
> >
> > EVALUATE SAL-PO-ASKING
> > WHEN SAL-PO-ASKING >= 95
> > MULTIPLY SAL-SLD-P BY .05 GIVING SAL-COMM-PAID
> > COMPUTE SAL-BONUS = (SAL-SLD-P - (SAL-ASKING-P * .95)) * .4
> > ADD SAL-BONUS TO SAL-COMM-PAID
> > WHEN SAL-PO-ASKING >= 94
> > MULTIPLY SAL-SLD-P BY .045 GIVING SAL-COMM-PAID
> Your sytax is wrong ...
>
> evaluate sal-po-asking
> when >= 95
> blah
> when >= 94
> blah blah
> when >= 93
But you could...
Evaluate true
when sal-po-asking >=95
when sal-po-asking >=94 'by the way the greater than is moot here
...
MCM
- Next message: Tom Linden: "Re: (IBM) SHARE - LNGC requirements"
- Previous message: Donald Tees: "Re: Compile error"
- In reply to: Donald Tees: "Re: Compile error"
- Next in thread: KL: "Re: Compile error"
- Reply: KL: "Re: Compile error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|