# "In(Object){...}" Function? Data types for Object Variables?

**URL:** <https://forum.kirupa.com/t/in-object-function-data-types-for-object-variables/234285>\
**Category:** flash\
**Created:** [August 1, 2007, 2:47am UTC](https://forum.kirupa.com/t/in-object-function-data-types-for-object-variables/234285 "2007-08-01T02:47:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aesir](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Aesir](https://forum.kirupa.com/u/Aesir)\
**Post date:** [August 1, 2007, 2:47am UTC](https://forum.kirupa.com/t/in-object-function-data-types-for-object-variables/234285/1 "2007-08-01T02:47:39Z")

</div>

I can create an object and use dot syntax to create, or reference, variables inside of it.

But how can I specify the data types of these variables?

Also, is there some way I can enter the namespace of the object over a number of lines via {}s instead of using repetitive dot syntax?

Thanks in advance.
