--[[ 空想具現化プログラミング http://hammm.blog21.fc2.com/ documentation by silica as 冬物語の人 http://winter.sgv417.jp/ --]] ------------ test script テスト用スクリプト use_explicit_globals() --use_implicit_globals() -- if you want to do the old way : チェックなしに戻す場合 global "SomeVariable" SomeVariable = 1 function ClearSomeVariable() print(tostring(SomeVariabl)) -- TYPO should result in a error SomeVariabl = 0 -- ミスタイプなのでここでエラーになるべき end ClearSomeVariable()