# Lines and curly brace

**URL:** <https://forum.kirupa.com/t/lines-and-curly-brace/178745>\
**Category:** Uncategorized\
**Created:** [February 13, 2006, 10:45pm UTC](https://forum.kirupa.com/t/lines-and-curly-brace/178745 "2006-02-13T22:45:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![layer](https://avatars.discourse-cdn.com/v4/letter/l/9dc877/32.png) [@layer](https://forum.kirupa.com/u/layer)\
**Post date:** [February 13, 2006, 10:45pm UTC](https://forum.kirupa.com/t/lines-and-curly-brace/178745/1 "2006-02-13T22:45:50Z")

</div>

what is line two and three saying?  
and why would you have to use an extra curly brace on the second statement to be exeucuted?  
wouldn.t one do the job followed by a semicolon???

dash.onEnterFrame = function() {  
this.\_x += ((Stage.width / 2) - this.\_x) / 5;  
this.\_y += ((Stage.height / 2) - this.\_y) / 5;  
};  
};
