# Setting Flash to demand type on variables

**URL:** <https://forum.kirupa.com/t/setting-flash-to-demand-type-on-variables/301003>\
**Category:** flash\
**Created:** [December 2, 2009, 9:43am UTC](https://forum.kirupa.com/t/setting-flash-to-demand-type-on-variables/301003 "2009-12-02T09:43:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![haagel](https://avatars.discourse-cdn.com/v4/letter/h/ad7895/32.png) [@haagel](https://forum.kirupa.com/u/haagel)\
**Post date:** [December 2, 2009, 9:43am UTC](https://forum.kirupa.com/t/setting-flash-to-demand-type-on-variables/301003/1 "2009-12-02T09:43:56Z")

</div>

Being a code purist, I always set Flash to demand that I declare all variables/functions with a type. Like this:

var myVar1:int = 14; //Ok  
var myVar2 = 18; //Compiler ERROR

My problem is that I just reinstalled my computer (including Flash) but I’ve forgotten where I do this setting. Anyone here with a better memory than me? :sigh:
