HSP3.5/6β5のバグ
HSP3.5/6β5にて、sortstr命令を使用すると対象の配列変数が破壊されます。まったく原因が判りません。
試しに
tmpppppppppppppppppppppppppppppppppppppppp="3:3","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","1:1","34:3","13223:13","3:3:3","1:1:2","34:3:3","13223:13:134","3:3:3","1:1:2","34:3:3","13223:13:134","3:3:3","1:1:2","34:3:3","13223:13:134","3:3:3","1:1:2","34:3:3","13223:13:134"
sortstr tmpppppppppppppppppppppppppppppppppppppppp
repeat
mes tmpppppppppppppppppppppppppppppppppppppppp(cnt)
mes cnt
wait 1
cls
loop
と書いてみたらこっちは上手く行ったので、余計に原因が判りません。
※白図形はデスクトップ背景などを隠すためのものです。
。追記:当該ツイート の通り、数値に変換してsortval命令を使うことで回避しました。
コメント
コメントを投稿