Asv3's Blog

September 13, 2009

Data Types

Filed under: flash — Tags: , , , — asv3 @ 12:24 pm

Primitive:

  • Boolean
  • int
  • null
  • Number
  • String
  • uint
  • undefined

Complex:

  • Object
  • Array
  • Date
  • Error
  • Function
  • RegExp
  • XML
  • XMLList

* type that is used to represent any data type. This should be used instead of omitting typing information for your variables.

Casting is treating variable of one type as variable of another type.

example:

int(true) //results 1

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.