変数の宣言と値の出力 練習問題1

by ym054 forked from 変数の宣言と値の出力 (diff: 5)
変数の宣言と値の出力 練習問題1
♥0 | Line 10 | Modified 2010-09-20 14:08:10 | MIT License
play

ActionScript3 source code

/**
 * Copyright ym054 ( http://wonderfl.net/user/ym054 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/s9Dh
 */

// forked from shmdmoto's 変数の宣言と値の出力
// forked from shmdmoto's 文字列出力(com.actionscriptbible.Exampleクラス)
/*
 * ActionScriptの基本をスタンダードなプログラミング言語学習の流れに
 * 沿って進めるために、テキスト出力ベースのクラスを使用します。
 */
package {
    import com.actionscriptbible.Example;
    public class FlashTest extends Example {
        public function FlashTest() {
            // write as3 code here..
            // 変数 Number を宣言
            var Number:int;
            Number = 3 + 3 + 3;
            trace(Number);
        }
    }
}