Menu:

Sponsor

Discover Master of Alchemy, our first iPad/iPhone and iPod touch game!

Follow Me

 

Forum's topics

Latest Files

Archives

Top Rated

Categories

Photo Gallery


Alessandro Crugnola on January 9, 2004 in flash

undefined toString??

One of the things that it has always made me laugh on the new Flash AS2 is the translation of the undefined value (mmhh.. not a value, it's undefined!).

a = undefined;
trace(a.toString()) // undefined

b = a + " is not a string"
trace(b) // "undefined is not a string"



???
Probably I don't yet understand the strict data typing concept (quite sure), but undefined CAN'T be converted to "undefined".
It's so Stupid for me!

 

Bookmark and Share

 

Tags: flash 

 



Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Type the characters you see in the picture above.





 

TrackBacks

TrackBack URL for this entry: http://www.sephiroth.it/cgi-bin/mt/mt-tb.cgi/176