以下のスクリプトだと、内部エラー(12)が発生してしまいます。
なぜでしょうか?
cls 1 title "Key Memo" sdim buf,65000 buf="" flg=1 mesbox buf,636,446,flg+4,0 notesel buf size=0 pos 20,450 : mes "終了=F2 テキストは終了時、自動的に保存されます。" onkey gosub *A_PUSH stop *A_PUSH getkey code, 113 if code : goto *owari stop *owari notesel buf notesave "save/"+gettime(4)+": "+gettime(5)+": "+gettime(6)+".txt" end