HP3000-L Archives

August 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mike Shumko <[log in to unmask]>
Reply To:
Mike Shumko <[log in to unmask]>
Date:
Fri, 27 Aug 1999 07:29:21 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
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>

ATOM RSS1 RSS2