I have a question

This is probably a stupid question, and it's probably been asked before, but can you have an if statement within an if statement?
yes

1
2
3
4
5
6
7
if(blah)
{
  if(blarg)
  {
    // code that will only be run if both blah and blarg are true
  }
}
Thanks for answering.
Topic archived. No new replies allowed.