/////////////KETlib/////////////////// use("KetCindyPlugin"); Dircdy=loaddirectory; setdirectory(gethome()); import("ketcindy.ini"); setdirectory(Dircdy); import("ketcindylibkey.cs"); import("linear-tformlib.txt"); import("button.txt"); Seteditable(10,["","Size=22","Width=300"]);//no ketjs on Text10.xy=[7.2,3];//no ketjs off /////////////flag等///////////// funflg=0; startflg=0; startnew=-1; /////////////////figures///////////////// Ketinit(1); poy=3.6; drwt(line,str):=( drawtext([-3,poy]," "+line+" "+str,size->15); poy=poy-0.8; ); if(startflg==0, if(startflg!=startnew, Subsedit(10,""); ); startnew=startflg; ); //////////////キーボード・ボタン等////////////// Keytable(4,12,1,12,[6,1.25],[0,1,0],nameL1,[0,-0.2],22); Keytable(4,12,4,12,[6,-3.55],[1,1,0],nameL2,[0,-0.2],22); ////////////////string入力窓///////////////// if(funflg==1, if(contains(Manifun,name), parse(name+";"); , tmp=indexof(Str,"?"); if(tmp>0,npos=tmp,npos=length(Str)); out=Addfunstr(name,npos,Str); tmp=length(out_1)-length(Str); npos=npos+tmp; Str=out_1; //npos=out_2; if(npos