Wikibooks should not be used as a learning resource. SB is rather different from most BASICs and I see you're breaking syntax rules in multiple places. DIM PER AS INTEGER is illegal and should create a syntax error, for example.
I recommend SB's official documentation instead.
0そうだね プレイ済み