for文で3回SPSETするつもりで for i=0 to 3 と書いていると予想。