Home > flash > "N as Boolean" is false

"N as Boolean" is false

  • Posted by: daniwell
  • 2009年8月14日 02:51
  • flash
var n :int = 1;
trace( n as Boolean ); → false
var n :int = 1;
trace( Boolean ( n ) ); → true

as *** で型キャストしてばかりだと、
こんなところでつまずくから目も当てられにゃい。

Comments:0

Comment Form

Trackbacks:0

TrackBack URL for this entry
http://www.papiness.com/blog/mt-tb.cgi/236
Listed below are links to weblogs that reference
"N as Boolean" is false from papi-blo

Home > flash > "N as Boolean" is false

Search
Feeds

Return to page top