# Basic syntax

**URL:** <https://forum.kirupa.com/t/basic-syntax/33029>\
**Category:** Uncategorized\
**Created:** [October 14, 2003, 1:27pm UTC](https://forum.kirupa.com/t/basic-syntax/33029 "2003-10-14T13:27:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsprathapsimha](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bsprathapsimha](https://forum.kirupa.com/u/bsprathapsimha)\
**Post date:** [October 14, 2003, 1:27pm UTC](https://forum.kirupa.com/t/basic-syntax/33029/1 "2003-10-14T13:27:36Z")

</div>

hi,

why do we use : in flash mx 2004.

I went through the following example

function Product (id:Number, prodName:Name, price:Number)  
{  
this.id:Number = id;  
this.prodName:String = prodName;  
this.price:Number = price;  
}

Is it something like “C language”, where we declare char, int etc.,
