# 2 booleans

**URL:** <https://forum.kirupa.com/t/2-booleans/318191>\
**Category:** flash\
**Created:** [January 12, 2011, 6:26pm UTC](https://forum.kirupa.com/t/2-booleans/318191 "2011-01-12T18:26:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbo](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tbo](https://forum.kirupa.com/u/tbo)\
**Post date:** [January 12, 2011, 6:26pm UTC](https://forum.kirupa.com/t/2-booleans/318191/1 "2011-01-12T18:26:33Z")

</div>

```auto

var run:Boolean;
var jump:Boolean;

if (run && jump){
    //
}

```

is flash smart enough to flag the if statement as false based on the first parameter?

or will it still process both booleans, even though it is known the\* if statement\* must return false based on the “run” Boolean alone.

just wondering if its a waste of processing, although trivial at this level.
