Subject: | |
From: | |
Reply To: | |
Date: | Fri, 27 Aug 1999 07:29:21 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Suprtool does not have an ELSE statement. It may appear to have one,
because anything you enter that is not a Suprtool command will be passed
to MPE, and MPE has an ELSE statement.
Think of Suprtool's IF command like a CRITERIA command, or a SELECTION
command, and you won't get lulled down the IF...THEN...ELSE path.
You will need to do as suggested by Alan Wyman: use multiple passes, one
for each of your selection criteria.
Boris Kortiak wrote:
>
> Ernie,
>
> Just a thought...wouldn't:
>
> IF DEGREE=02 THEN &
> EXTRACT "BACHELORS" &
> ELSE &
> EXTRACT "MASTERS"
>
> be more appropriate? Don't remember if you need to signal continuations with the '&' character or not.
>
> B
>
> >>> "Newton, Ernie" <[log in to unmask]> 08/05/99 01:30PM >>>
> Greetings,
>
> We are using SUPRTOOL 4.2 and I am trying to do a simple IF statement.
>
> Something like this;
>
> IF DEGREE=02 THEN
> EXTRACT "BACHELORS"
> ELSE
> EXTRACT "MASTERS"
>
> <snip>
|
|
|