>>204
じゃあLimitInstanceCountとか?

だけど、
if (getCurrentInstanceCount() >= MaxInstances) プログラム終了;
の方が分かりやすいと思うけどw