# Stay the course?

**URL:** <https://forum.kirupa.com/t/stay-the-course/315152>\
**Category:** Uncategorized\
**Created:** [October 19, 2010, 2:43am UTC](https://forum.kirupa.com/t/stay-the-course/315152 "2010-10-19T02:43:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![radi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@radi](https://forum.kirupa.com/u/radi)\
**Post date:** [October 19, 2010, 2:43am UTC](https://forum.kirupa.com/t/stay-the-course/315152/1 "2010-10-19T02:43:45Z")

</div>

is it better to make a new function to be called inside of a IF(statement)  
instead of a large function with a bunch of running IF(statement)

i could imagine a small advantage if you could end the function that is currently running after calling the new one is that possible? and worth doing?
