# F5-two ifs

**URL:** <https://forum.kirupa.com/t/f5-two-ifs/33132>\
**Category:** flash\
**Created:** [October 15, 2003, 4:46pm UTC](https://forum.kirupa.com/t/f5-two-ifs/33132 "2003-10-15T16:46:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![borispc](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@borispc](https://forum.kirupa.com/u/borispc)\
**Post date:** [October 15, 2003, 4:46pm UTC](https://forum.kirupa.com/t/f5-two-ifs/33132/1 "2003-10-15T16:46:30Z")

</div>

Hi!  
What is the syntax if we want to have to ifs (conditionals) in the same line?

if (whatever==1) & if (whatever2==2){  
//actions  
}
