Subject: | |
From: | |
Reply To: | |
Date: | Thu, 5 Aug 1999 11:00:55 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Ernie,
This type of 'IF' statement logic is not supported in Supertool. You can only have one 'IF' statement for each extract. The example you mention below is in reference to MPE/iX programming and setting up a use file by using the "ECHO" command and others to build the exact output you desire, then when in Supertool execute the Use file that you created earlier. I looked in the 4.2 manual and all of the examples are MPE/iX CI programming examples.
Hope this helps.
Tom Renz
>>> "Newton, Ernie" <[log in to unmask]> 08/05/99 11:30AM >>>
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]
|
|
|