# VOID - When!?

**URL:** <https://forum.kirupa.com/t/void-when/280163>\
**Category:** Uncategorized\
**Created:** [January 23, 2009, 4:21pm UTC](https://forum.kirupa.com/t/void-when/280163 "2009-01-23T16:21:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [January 23, 2009, 4:21pm UTC](https://forum.kirupa.com/t/void-when/280163/1 "2009-01-23T16:21:17Z")

</div>

Hello - I just don’t get the difference when to use VOID or Not …  
with so many tutorials I have read, some use void, and sometimes they don’t within very similar circumstances …

```auto
function onEnterFrame(Void):Void
{
}
//and
onEnterframe = function():Void
{

}
//and there's even a lower case 'void' too .. >>
//I usually just use 
onEnterFrame = function()
{
}

```

Can someone explain when and not to use it - or should it always be used!?  
thanks …
