• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: VII Appendixes > Datatype Conversion Rules

Datatype Conversion Rules

When the ActionScript interpreter expects one datatype, and you use a different datatype, the interpreter creates a new value of the expected type. For instance, suppose your program contains the following statements:

var x;
x = 63 – "my dentist";
trace(x); // ??


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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