HP3000-L Archives

August 1999, Week 1

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:
"Newton, Ernie" <[log in to unmask]>
Reply To:
Newton, Ernie
Date:
Thu, 5 Aug 1999 10:30:19 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
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"

I've actually never been able to use the ELSE statement in SUPRTOOL, but the
program seems to be aware that ELSE is a valid command...or is it?  When
just typing ELSE and pressing <return>, SUPRTOOL tells me that there is no
corresponding IF.  According to the 4.2 manual, page 183, the proper syntax
is;

IF <EXPRESSION> THEN
  "do this"
ELSE
  "do that"

But, when I type in, "IF <EXPRESSION> THEN", SUPRTOOL tells me that that is
an invalid expression.  Am I missing something or are the kind people at
Robelle just trying to confuse the already confused?

Thanks and happy Thursday to all.


Ernie Newton
Computer Systems Specialist
Yolo County Office of Education
[log in to unmask]

ATOM RSS1 RSS2