# Should I use } or }; at the end of a code block?

**URL:** <https://forum.kirupa.com/t/should-i-use-or-at-the-end-of-a-code-block/210055>\
**Category:** flash\
**Created:** [December 14, 2006, 3:18pm UTC](https://forum.kirupa.com/t/should-i-use-or-at-the-end-of-a-code-block/210055 "2006-12-14T15:18:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matm00](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/matm00/32/2487_2.png) [@matm00](https://forum.kirupa.com/u/matm00)\
**Post date:** [December 14, 2006, 3:18pm UTC](https://forum.kirupa.com/t/should-i-use-or-at-the-end-of-a-code-block/210055/1 "2006-12-14T15:18:54Z")

</div>

Something I’ve always wondered, but never got round to asking is should I use…

```auto
}

```

… or…

```auto
};

```

… at the end of a code block? What’s the difference as I’ve seen both used but no explanation as to why?
