G
GLT
Hi,
I have some nested if statements which are as follows:
read one line
if condition <a> is true
read another line
if condition <b> is true
read another line
if condition <c> is true
read another line
endif
endif
endif
What I would like to happen if condition <a> is true, then it jumps to the
next if statement, and keeps doing so - only exiting ALL of the if statments
if a condition winds up being false.
The current method above will exit all the if statments if the first one is
true. I have 25 if statements, and I only want my code to proceed with the
next if statement if the previous if condition is true.
Can anyone advise the correct way to acheive this?
Any help is always greatly appreciated...
Thanks,
GLT.
I have some nested if statements which are as follows:
read one line
if condition <a> is true
read another line
if condition <b> is true
read another line
if condition <c> is true
read another line
endif
endif
endif
What I would like to happen if condition <a> is true, then it jumps to the
next if statement, and keeps doing so - only exiting ALL of the if statments
if a condition winds up being false.
The current method above will exit all the if statments if the first one is
true. I have 25 if statements, and I only want my code to proceed with the
next if statement if the previous if condition is true.
Can anyone advise the correct way to acheive this?
Any help is always greatly appreciated...
Thanks,
GLT.