as3, tamarinâ» AS3 ã«ã¯ãããã¯ã¹ã³ã¼ãããªãããã¨ããå 容ã§ãä¸æå¤æ°ã®å¹çåï½_level0.KAYAC ã¨ããè¨äºã«æªãããã¨ãæ¸ãã¦ãã£ãã®ã§çªã£è¾¼ãã§ããã¾ãããã®è¨äºã«ããã¨ãfor ã®ä¸ã§å¤æ°ã宣è¨ããããã // ä¸ãã¼ã¸ã§ã³ function foo1():void{ for(var i:int = 0; i { var a:Object = new Object(); } } å¤ã§å®£è¨ãããã»ãã // å¤ãã¼ã¸ã§ã³ function foo2():void{ var a:Object; for(var i:int = 0; i { a = new Object(); } } a ã宣è¨ãããåæ°ãå°ãªãã®ã§å¹ççã ã¨ãã¦ãã¾ããããã©ããããã¯ééãã§ããfor ã®ä¸ã§å®£è¨ãã¦ãããããã¯ã®ãã¨ã§ãçãæ®ãã¾ãããã£ã¨è¨ã£ã¦ãã¾ãã°ãvar 宣è¨ããå
{{#tags}}- {{label}}
{{/tags}}