¤³¤Î¤è¤¦¤Ê¤È¤³¤í¤Ë½ñ¤¹þ¤à¤Î¤Ï½é¤á¤Æ¤Ê¤Î¤Ç»ê¤é¤Ì¤È¤³¤í¤¬
¤¢¤Ã¤¿¤È¤·¤Æ¤âÂçÌܤ˸«¤Æ¤¤¤¿¤À¤±¤ë¤È¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¡£
¤Þ¤¿¡¢¥×¥í¥°¥é¥ß¥ó¥°¤Ë´Ø¤·¤Æ¤â¤Û¤È¤ó¤ÉÊÙ¶¯Ãæ¤Î¿È¤Ç¤¹¤Î¤Ç
»ä¤Î½ñ¤¤¤¿¥×¥í¥°¥é¥à¤ÏÃÕÀÛ¤À¤È¤Ï»×¤¤¤Þ¤¹¤¬¤´Î»¾µ¤·¤Æ¤¤¤¿¤À¤±¤ë¤È¹¬¤¤¤Ç¤¹¡£
Á°ÃÖ¤¤¬Ä¹¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¿½¤·¤ï¤±¤¢¤ê¤Þ¤»¤ó¤¬ËÜÂê¤Î¤Û¤¦¤ËÆþ¤é¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£
»ä¤Ï¸½ºß¡¢hsp¤Ç2¡Á9¿Ê¿ô¤ò10¿Ê¿ô¤Ø¤ÈÊÑ´¹¤¹¤ë¥×¥í¥°¥é¥à¤ò½ñ¤³¤¦¤È¤·¤Æ¤¤¤Þ¤¹¡£
¡Ê¤½¤ì¤ò·×»»¤¹¤ë¤¿¤á¤Î´Ø¿ô¡Ê¡©¡Ë¤Î¸ºß¤¬¤¢¤ë¤È¤¤¤¦¤Î¤ÏÄ´¤Ù¤¿»þ¤Ë¤¹¤³¤·
ÌܤËÆþ¤Ã¤Æ¤¤Þ¤·¤¿¤¬º£²ó¤Ï¤½¤ì¤Ï»È¤ï¤Ê¤¤ÊýË¡¤Ç¤ä¤í¤¦¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£¡Ë
¤³¤Á¤é¤Î¥×¥í¥°¥é¥à¤Ç»ä¤Î¤ä¤ê¤¿¤¤¤³¤È¡Ê¸½¾õ̤²ò·è¤ÊÉôʬ¡Ë¤Ï¡¢
1,screen3¤Ë¤¤Á¤ó¤È·×»»·ë²Ì¤¬¥×¥í¥°¥é¥à³«»Ï¤«¤éµÏ¿¤µ¤ì¤ë
¡¡¡Ê¤³¤ì¤Ï¤ª¤½¤é¤¯¥µ¥Ö¥ë¡¼¥Á¥ó¥¸¥ã¥ó¥×¤·¤¿¸å¤Ë¥¦¥£¥ó¥É¥¦¤òÀßÄꤷ¤Æ¤¤¤ë¤«¤é¤À¤È
¡¡¡¡»×¤ï¤ì¤ë¤Î¤Ç¤¹¤¬¡¢¤É¤³¤òľ¤»¤Ð¤¦¤Þ¤¯¤¤¤¯¤Î¤«¤¬¤ï¤«¤ê¤Þ¤»¤ó...¡Ë
2,ÅÓÃæ¤ÎÌá¤ë½èÍý¡¢¤â¤·¤¯¤Ï°ìÅÙ·×»»¤¬½ª¤ï¤Ã¤¿¸å¤Ë¤â¤¦°ìÅÙ·×»»¤ò¤·¤è¤¦¤È¤¹¤ë¤È
¡¡¤Ê¤¼¤«ÆþÎϤ·¤¿¤Î¤ËÆþÎϤ·¤Æ¤Ê¤¤È½Äê¤Ë¤Ê¤ë
¡¡¡ÊÎã)¥¦¥£¥ó¥É¥¦:ÊÑ´¹¤¹¤ë¿ô¤ÎÆþÎÏ¡¡¤ÎºÝ¤ËÌá¤ë¤ò²¡¤·¤Æ
¡¡¡¡¥¦¥£¥ó¥É¥¦:·å¿ôÆþÎÏ¡¡¤Ç¤â¤¦°ìÅÙÆþÎϤ·¤Ê¤ª¤¹¤ÈÆþÎϤ·¤¿¤Ï¤º¤Ê¤Î¤Ë
¡¡¡¡¥À¥¤¥¢¥í¥°:²¿¤âÆþÎϤµ¤ì¤Æ¤¤¤Þ¤»¤ó¡¡¤Èɽ¼¨¤µ¤ì¤Æ¤·¤Þ¤¦¡Ë
¤É¤Ê¤¿¤«¾Ü¤·¤¤Êý¤¤¤Þ¤·¤¿¤é¾åµ¤ÎÌäÂ꤬µ¯¤³¤Ã¤Æ¤¤¤ëÉôʬ¤È¤½¤ÎÍýͳ¡¢
¤½¤·¤Æ²ò·èÊýË¡¡Ê¤â¤·¤¯¤Ï²ò·è¤¹¤ë¥³¡¼¥É¡Ë¤ò¤ª¶µ¤¨¤·¤Æ¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«...
¤À¤¤¤Ö̵Ãã¤Ê¤ª´ê¤¤¤Ç¤¢¤ë¤³¤È¤Ï100¤â¾µÃΤǤ¹¤¬²¿Â´¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£
½ÐÍè¤ì¤Ð¥×¥í¥°¥é¥à¤Î´ðÈפϺ£½ñ¤¤¤Æ¤¤¤ëÄ̤ê¤Ç¤ª´ê¤¤¤·¤¿¤¤¤Ç¤¹¡£
°Ê²¼¥×¥í¥°¥é¥àµ½Ò
*hajimari screen 0,400,170,0,200,200 title "´ð¿ôÁªÂò font "ÌÀÄ«",20,1 mes "ÊÑ´¹¤·¤¿¤¤¿ô¤Î´ð¿ô¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤ b=2 objsize 70,30 repeat 2 x=cnt repeat 4 pos cnt*80+50,x*50+50 button gosub ""+b+"",*kisuutosaidai p=int(stat)+2 objprm stat,"("+p+")" b+=1 loop loop button gosub "end",*fin stop *kisuutosaidai;¥Ü¥¿¥ó¤Ë¤è¤Ã¤ÆÊÑ¿ô¤òÊѤ¨¤ë z=int(stat)+2;z¤Ï´ð¿ô if stat=0{ d=31;d¤Ï32bit¤òĶ¤¨¤Ê¤¤ºÇÂç·å¿ô }else:if stat=1{ d=19 }else:if stat=2{ d=15 }else:if stat=3{ d=13 }else:if stat=4{ d=11 }else:if stat=5{ d=11 }else:if stat=6{ d=10 }else:if stat=7{ d=9 } *ketasuunyuuryoku wait 10;¥¨¥ó¥¿¡¼¥¡¼¤Î´¬¤¹þ¤ßËÉ»ß gsel 0,-1 screen 1,350,120,0,210,210 title "·å¿ôÆþÎÏ font "ÌÀÄ«",18,1 mes "ÊÑ´¹¤¹¤ë¿ô¤Î·å¿ô¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤" mes "ÆþÎϤ·½ª¤¨¤¿¤éEnter¥¡¼¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤" #uselib "user32.dll" #cfunc GetWindowLong "GetWindowLongA" sptr, sptr #func SetWindowLong "SetWindowLongA" sptr, sptr, sptr k="";·å¿ô¤òÆþÎϤ·¤Æ¤â¤é¤¦ objmode 2:input k,300 hInput = objinfo(stat, 2) SetWindowLong hInput, -16, $50010080 | $2;input¤Î±¦µÍ¤á SetWindowLong hInput, $FFFFFFF0, GetWindowLong(hInput, $FFFFFFF0)|$00002000;1¡Á9°Ê³°¤Î¥¡¼¥Ü¡¼¥É¤ÎÆþÎ즯ȧ k=int(k) mes "´ð¿ô("+z+")¡¡·×»»²Äǽ¤Ê·å¿ô("+d+"·å) button goto "Ìá¤ë",*hajimari;´ð¿ô¤ÎÁªÂò¤ËÌá¤ë *nyuuryokukakuninn tp="" getkey tp,13;¥¨¥ó¥¿¡¼¥¡¼¤¬²¡¤µ¤ì¤¿¤é¿ôÃÍÆþÎϤËÈô¤Ö if tp:goto *suutinyuuryoku wait 1 goto *nyuuryokukakuninn *suutinyuuryoku k=int(k) if k>d{;d¤òĶ¤¨¤ë¿ô¤¬ÆþÎϤµ¤ì¤¿¤é¥¨¥é¡¼¤òÅǤ¯ wait 50 dialog"·å¤¬Â礤¹¤®¤Þ¤¹",1,"¥¨¥é¡¼" gosub *ketasuunyuuryoku } if k=0{;k¤Ë²¿¤âÆþÎϤµ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¾ì¹ç¥¨¥é¡¼¤òÅǤ¯ wait 50 dialog"²¿¤âÆþÎϤµ¤ì¤Æ¤¤¤Þ¤»¤ó",1,"¥¨¥é¡¼" gosub *ketasuunyuuryoku } wait 50;¥¨¥ó¥¿¡¼¥¡¼¤Î´¬¤¹þ¤ßËÉ»ß gsel 1,-1 screen 2,600,300,0,190,190 title "ÊÑ´¹¤¹¤ë¿ô¤ÎÆþÎÏ" onkey gosub *hennkann font "ÌÀÄ«",20,1 mes ""+k+"·å¤Î"+z+"¿Ê¿ô¤ò10¿Ê¿ô¤ËÊÑ´¹¤·¤Þ¤¹" mes "²¼¤ÎÆþÎÏÍó¤Ë"+z+"¿Ê¿ô¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤" n="":objmode 2:input n,300,,k;ÊÑ´¹¤¹¤ë¿ô¤òÆþÎϤ·¤Æ¤â¤é¤¦ hInput = objinfo(stat, 2) SetWindowLong hInput, -16, $50010080 | $2;¾å¤ÈƱ¤¸¡ÊLINE53,54¡Ë SetWindowLong hInput, $FFFFFFF0, GetWindowLong(hInput, $FFFFFFF0)|$00002000 button gosub "Ìá¤ë",*syoukyo;·å¿ô¤ÎÆþÎϤØÌá¤ë objmode 0:objsize 60,25:pos 540,275:button gosub "ÊĤ¸¤ë",*fin stop *hennkann if wparam=13{;¥¨¥ó¥¿¡¼¥¡¼¤¬²¡¤µ¤ì¤¿¤é¤³¤Î½èÍý¤ò¹Ô¤¦ wait 20 if n=""{;n¤Ë²¿¤âÆþ¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¥¨¥é¡¼¤òÅǤ¯ dialog"²¿¤âÆþÎϤµ¤ì¤Æ¤¤¤Þ¤»¤ó",1,"¥¨¥é¡¼" gosub *suutinyuuryoku } objsel -1 dim a,k;¾å¤Î·å¤«¤é10¿Ê¿ô¤ØÊÑ´¹¤·¡¢Â¤·¹ç¤ï¤»¤ë m=0 s=0 repeat int(k) a(m)=int(strmid(n,m,1)) if a(m)>=z:dialog"ÊÑ´¹¤Ç¤¤Ê¤¤¿ô»ú¤¬ÆþÎϤµ¤ì¤Þ¤·¤¿¡£",1,"¥¨¥é¡¼":break s+=a(m)*powf(z,k-1-m) m+=1 loop if stat=0:gosub *toriaezu return }return stop *toriaezu screen 3,600,400,0,1300,0;·×»»·ë²Ì¤òµÏ¿¤·¤Æ¤¤¤¯¡Ê̤´°À®¡Ë title "·ë²Ìɽ¼¨" font "ÌÀÄ«",20,1:mes " ÊÑ´¹ÍúÎò mes "" pos 0,y:mes ""+z+"¿Ê¿ô¤Î"+n+"¤ò10¿Ê¿ô¤ËÊÑ´¹¤¹¤ë¤È"+s+"¤Ë¤Ê¤ê¤Þ¤¹¡£" y+=25 n=0 s=0 objsize 60,25:pos 540,375:button gosub "½ª¤ï¤ë",*fin gosub *suutinyuuryoku *syoukyo gsel 2,-1 goto *ketasuunyuuryoku *fin end