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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top