Skip All
Ohmes, Matt
Matt.Ohmes@COGNOS.com
Wed, 14 Jul 1999 09:46:17 -0400
Well Mikael, it seems like that is what you are asking it to do. If you are
processing inside the first IF construct, the last statement sets
TempVariable_two to zero. It looks to me, if you EVER execute through the
first IF construct, you will NEVER execute the second IF. Am I missing
something?
By the way. The "//" in the Entry procedure simply simulates a null operator
response through the rest of the fields in the processing logic. But it
won't override that logic. At least that's the way I understand it. :-)
Hope that helps,
Matt
Matt.Ohmes@Cognos.Com
Cognos Corporation
909 E. Las Colinas Blvd.
Suite 1900
Irving, TX 75039
214-259-6200
"Matt doesn't really know anything. He just likes to pontificate a lot.
We refuse to acknowledge that he works for Cognos or that we have ever
met him or anyone with whom he's ever been associated. Don't lend him
money and don't let him talk to your sister!" ;-)
-----Original Message-----
From: mao@krifapost.dk [mailto:mao@krifapost.dk]
Sent: Wednesday, July 14, 1999 4:40 AM
To: powerh-l@lists.swau.edu
Subject: Skip All
Hi folks
I have a problem with "//" - Skip all in an entry procedure:
temp TempVariable_one int*1 reset at startup
temp TempVariable_two int*1 reset at startup
procedure entry
begin
do internal Set_temp_variable ; Set either TempVariable_one or _two to 1
if TempVariable_one = 1
then begin
accept field1
accept field2
......
let TempVariable_one = 0
let TempVariable_two = 0
end
if TempVariable_two = 1
then begin
accept field3
accept field4
......
let TempVariable_one = 0
let TempVariable_two = 0
end
end
If I use the "//" skip all in ex. field2 in the first "if" statement
the program skip the rest of the "if" statement, sets the variables
to zero and jump into "if" statement two - even though the TempVariable_two
is
1.
What am I doing wrong?
Greetings
Mikael
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.