cls 1
sdim a,65000
flg=1
mesbox a,640,440,flg+4
objsize 60,24
pos 430,448:button "LOAD",*file_load
pos 500,448:button "SAVE",*file_save
pos 570,448:button "END",*endbtn
stop
*file_save
dialog "txt",17,"テキストファイル"
if stat=0 : goto *dlcan
fname = refstr
exname=getpath(fname,2)
if exname="" : fname+=".txt"
notesel buf
notesave fname
*dlcan
stop
*file_load
dialog "txt",16,"テキストファイル"
if stat=0 : goto *dlcan2
notesel buf
noteload refstr
objprm 0,buf
*dlcan2
stop
*endbtn
end
僕の購入した本では
このソースでメモ帳見たいに
ロードとセーブができると書いてるのですが
実行するとすべてのファイルを選択したいの保存できないし
それをロードしようとしてもできません
どうすれいいのでしょうか?