Boolean()

種  類
オブジェクト
バージョン
2.0

書  式
new Boolean(フラグ)
new Boolean(値またはデータ)

解  説
Boolean(ブーリアン)オブジェクトはtrueまたはfalseを生成します。

コード
flag1 = new
Boolean(true);
flag2 = new
Boolean(false);
Console.clear();
Console.write(flag1,"\n",flag2,"\n");


■サンプルスクリプトをダウンロードする >>.zip