あ、文字列を使った意味は、 dim a[n] の場合 a は倍精度浮動小数点小数: 8*nバイト使用 dim a%[n] の場合 a% は整数: 4*nバイト使用 dim a$=" "*n の場合 a$ はutf-16: 2*nバイト使用 という感じで最小サイズで実装できるからです。