• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Types of Data Types

Before we get into any major details about any of the data types, let's briefly look at the different data types in Flash:

  • String. Any piece of data to be listed as basic text (for example, “This is a string data type”). Notice the quotation marks, which signify that this is a string.

  • Number. Any piece of data to be listed as an integer, or floating-point with a numeric value (for example, 1, 44, -10, 21.7, and -0.8 are all legal number data types).

  • Boolean. This is a logical representation used for conditions and results of certain functions (true and false are the only two Boolean data types).

  • Null. This data type is used to show the absence of data having a value of null.

  • Undefined. This data type is used to show the absence of value in a variable; its value is undefined.

  • Array. This is used for lists of data (it is its own data type); the data itself can be a certain type such as String, or Number, or it can also be mixed within the array.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint