Nested if

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Just a quick question. If i am writing a nested IF statment what is the order of the execution.
i.e are the inner if statments evaluated first before the outer If statments?
If the inner IF statment evalutaes to false then am i right in saying the outer ones will no longer be evaluated
 
If Ozzy = woman
if Ozzy < 21
do something

In this case will if Ozzy is a man never be done anyting

I hope this makes it clear?

Cor
 
Cheers for the help Cor. This is what i thought but i just needed confirmation to clear any confusion. :o
 
Back
Top