Upon boolean check, does it execute it?

Discussion in 'Plugin Development' started by Dreeass, Aug 7, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Dreeass

    I actually have this question very often and don't really know what the answer is and I try to avoid it. But I don't want to avoid it any longer, so when you have a boolean that executes code and returns true/false at the end. When checking the boolean in an if statement, does it also execute that code or only simulates it and returns true/false?
     
  2. Offline

    sd5

    Yes, it does execute the code...
     
    Dreeass likes this.
Thread Status:
Not open for further replies.

Share This Page