// SORT_MAN.hsp /*title this*/_4title=__FILE__:split _4title,".",_4title:title _4title.0 #include "hspda.as" // 操作前文字列用mesbox用 sdim s,65000 // ノートパッド用 sdim t,65000 // 画面初期化 screen 0,600,480 objsize 200,20 button "降順ソート",*do_hoge pos 200,0 button "昇順ソート",*do_piyo pos 0,25 font "",18 objmode 2 // sが中身の操作前文字列用mesbox mesbox s,600,455,5 ID4mesbox=stat stop // 降順ソート *do_hoge t=s notesel t sortnote t,1 // notepadの命令でsortして保存 notesave "tmp.txt" // メモ帳を利用して表示 exec "notepad tmp.txt" stop // 昇順ソート *do_piyo t=s notesel t // notepadの命令でsortして保存 sortnote t,0 notesave "tmp.txt" // メモ帳を利用して表示 exec "notepad tmp.txt" stop
タグ
コメントをかく