|
| ̤²ò·è |
| ²ò·è |
| Ää»ß |
| ºï½üÍ×ÀÁ |
|
2024/6/3(Mon) 13:34:15|NO.101769
#define CHARA_MAX 10
goto *main
#deffunc CAL_JUMP local x y a
;*jump //¥¸¥ã¥ó¥×±é»»
repeat CHARA_MAX
_cnt=cnt
if jamp._cnt.JT=0 : continue
if jamp._cnt.JT=1 {
//y=a*x^2¤ò½èÍý¤·¥¸¥ã¥ó¥×Ãæ¤ÎºÂɸ¤òÂåÆþ¢
jamp._cnt.JX=y
jamp._cnt.JY=x
}
loop
return
*main
¾åµ¤ÎÍͤʽèÍý¤ò¹Í¤¨¤¿¤Î¤Ç¤¹¤¬¡¢¥¨¥é¡¼¤¬½Ð¤Þ¤¹¡£
¥í¡¼¥«¥ëÊÑ¿ô¤Ï£²¤Ä¤Þ¤Ç¤·¤«»È¤¨¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡£
£³¤Ä¤Ë¤¹¤ë¤È¥¨¥é¡¼¤¬½Ð¤Þ¤¹¡£
¤«¤È¤¤¤Ã¤Æa,x,y¤ò¥°¥í¡¼¥Ð¥ë¤ËÊÝ»ý¤¹¤ë¤Î¤Ï·ù¤Ê¤Î¤Ç¤¹¡£
¥â¥¸¥å¡¼¥ëÊÑ¿ô¤Ë¤·¤¿¤é¥â¥¸¥å¡¼¥ëÆ⤫¤é¥°¥í¡¼¥Ð¥ëÊÑ¿ô¤Ë¥¢¥¯¥»¥¹¤¹¤ë»ö¤Ë¤Ê¤ë¤Î¤Ç¤½¤ì¤â·ù¤Ê¤Î¤Ç¤¹¡£
°ìÂΤɤ¦¤·¤¿¤é¤¤¤¤¤Ç¤·¤ç¤¦¤«¡£
¥í¡¼¥«¥ëÊÑ¿ô¤ò¤¢¤Þ¤ê»È¤ï¤Ê¤¤¤Î¤Çº¤¤Ã¤Æ¤¤¤Þ¤¹¡£¡£¡£
|
|
2024/6/3(Mon) 15:54:57|NO.101770
¥í¡¼¥«¥ëÊÑ¿ô£³¤Ä¸ÂÄê¤À¤Ã¤¿¤é¡¢²¿¤âºî¤ì¤Ê¤¤¤Ç¤¹¡£
¤É¤³¤«¤Ç¥¹¥¿¥Ã¥¯¤·¤Æ¤Þ¤¹¡£
|
|
2024/6/3(Mon) 16:26:05|NO.101771
¤³¤ó¤Á¤ï
#deffunc CAL_JUMP local x,local y ,local a;¢«local¤Ï¤½¤ì¤¾¤ìɬÍפ¸¤ã¤Ê¤¤¤Ç¤¹¤«¤Í
¤¿¤À¡¢¶ñÂÎŪ¤Ë¤É¤¦¸À¤¦½èÍý¤¬¤·¤¿¤«¤Ã¤¿¤Î¤«¤ï¤«¤ê¤Ë¤¯¤«¤Ã¤¿¤Î¤Ç¤¹¤¬¡£¡£
ÇÛÎó¤â¥¨¥é¡¼¤Ë¤Ê¤ê¤½¤¦¤Ç¤¹¤Í¡£
¥¢¥¯¥·¥ç¥ó¥²¡¼¥à¤Î¥¸¥ã¥ó¥×¤È¤Ï¡¢¤³¤¦¤¤¤¦¤â¤Î¤Ï¤Þ¤¿°ã¤¦¤â¤Î¤Ç¤¹¤«¡©
screen 0,256,256
;ÊÑ¿ô¤òÍÑ°Õ
vel=0 ;®ÅÙ
grav=1;½ÅÎÏ
x=125 ;½é´ü°ÌÃÖx
y=125 ;½é´ü°ÌÃÖy
*main
redraw 0
color 0,0,0
boxf
stick keys,1+4
if keys&1{x-=1};¢«°ÜÆ°
if keys&4{x+=1};¢ª°ÜÆ°
if keys&16{ ;SPACE¥¸¥ã¥ó¥×¥Ü¥¿¥ó
if jump=0{ ;¥¸¥ã¥ó¥×²Äǽ¤Ê¤é
jump=1 ;¥¸¥ã¥ó¥×¥Õ¥é¥°¤ò¥ª¥ó
vel=-20;½é®ÅÙ¤òÀßÄê(¥Þ¥¤¥Ê¥¹¤¬¾åÊý¸þ)
}
}
;®Å٤ȽÅÎϤι¹¿·
vel+=grav ;®ÅÙ¤¬½ÅÎϤǸº¿ê
y¡¡+=vel ;y¤Ë¾åµ¤Î®ÅÙ¤ò²Ã»»
;ÃåÃÏ
if y>=230{;y¤Ï¥×¥é¥¹Êý¸þ¤¬²¼¸þ¤
y=230
jump=0;ÃåÃϤ·¤¿¤Î¤Ç¥¸¥ã¥ó¥Õ¥é¥°¤ò¥ª¥Õ
}
color 255,255,255
pos x,y
mes "¡ú"
pos 0,0
mes "[¢«][¢ª][SPACE]"
redraw 1
await 1000/60
goto *main
|
|
2024/6/3(Mon) 16:57:27|NO.101772
³Ú¤·¤¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¡¢¡¢
¥â¥¸¥å¡¼¥ëÊÑ¿ôÈÇ(Ê£¿ô¥¥ã¥é¤òÌܻؤ·¤Æ)
;===star¥â¥¸¥å¡¼¥ë===
#module mod_star m_x,m_y,m_vel,m_grav,m_jump
#modinit int _grav
m_x=rnd(100);½é´ü°ÌÃ֤ϥé¥ó¥À¥à
m_y=rnd(100)
m_grav=_grav;½ÅÎϤϽé´ü²½»þ¤Ë»ØÄê
return
#modfunc update int _keys
if _keys&1{m_x-=1};¢«°ÜÆ°
if _keys&4{m_x+=1};¢ª°ÜÆ°
if _keys&16{ ;SPACE¥¸¥ã¥ó¥×¥Ü¥¿¥ó
if m_jump=0{ ;¥¸¥ã¥ó¥×²Äǽ¤Ê¤é
m_jump=1 ;¥¸¥ã¥ó¥×¥Õ¥é¥°¤ò¥ª¥ó
m_vel=-20;½é®ÅÙ¤òÀßÄê(¥Þ¥¤¥Ê¥¹¤¬¾åÊý¸þ)
}
}
;®Å٤ȽÅÎϤι¹¿·
m_vel+=m_grav ;®ÅÙ¤¬½ÅÎϤǸº¿ê
m_y¡¡+=m_vel ;y¤Ë¾åµ¤Î®ÅÙ¤ò²Ã»»
;ÃåÃÏ
if m_y>=230{;y¤Ï¥×¥é¥¹Êý¸þ¤¬²¼¸þ¤
m_y=230
m_jump=0;ÃåÃϤ·¤¿¤Î¤Ç¥¸¥ã¥ó¥Õ¥é¥°¤ò¥ª¥Õ
}
color 255,255,255
pos m_x,m_y
mes "¡ú"+m_grav
return
#global
;===¥á¥¤¥ó¥×¥í¥°¥é¥à===
screen 0,256,256
randomize
;star¥â¥¸¥å¡¼¥ë¤ò3¤ÄºîÀ®
newmod stars,mod_star,1
newmod stars,mod_star,2
newmod stars,mod_star,3
*main
redraw 0
color 0,0,0
boxf
stick keys,1+4
foreach stars
update stars(cnt),keys;star¥â¥¸¥å¡¼¥ë¤ÎupdateÌ¿Îá
loop
pos 0,0
mes "[¢«][¢ª][SPACE]"
redraw 1
await 1000/60
goto *main
| |
|
2024/6/3(Mon) 21:51:09|NO.101773
¤´¼ÁÌä¤Î¼ñ¸þ¤È°ã¤¤¤Þ¤¹¤¬¤Ê¤ó¤«¤Ç¤¤¿¤Î¤ÇŽ¤ê¤Þ¤¹¡£»²¹ÍÄøÅ٤ˡ£
(¤Á¤Ê¤ß¤Ë½èÍý¸úΨŪ¤Ë¤Ï¤â¤¦¤Á¤Ã¤È¹Í¤¨¤¿¤Û¤¦¤¬¤è¤µ¤½¤¦?)
#define CHARA_MAX 50
dim x,CHARA_MAX
dim y,CHARA_MAX
dim back_y,CHARA_MAX
randomize
repeat CHARA_MAX
x(cnt)=rnd(640)
y(cnt)=rnd(480)
loop
*main
redraw 0
color: boxf
color 255,255,0
CAL_JUMP x,y,rnd(CHARA_MAX)
repeat CHARA_MAX
pos x(cnt),y(cnt): mes "¡ú"
loop
redraw 1
await 16
goto *main
;-----------------------------------------
#deffunc CAL_JUMP array _x, array _y, int _id
repeat CHARA_MAX
if cnt=_id {
if back_y(cnt)=0 {
back_y(cnt)=_y(cnt)
spy(cnt)=-2-rnd(15)
spx(cnt)=3-rnd(7)
}
}
if back_y(cnt) {
_x(cnt)+=spx(cnt): _y(cnt)+=spy(cnt): spy(cnt)++
if _y(cnt)>back_y(cnt) { _y(cnt)=back_y(cnt): back_y(cnt)=0 }
_x(cnt)=limit(_x(cnt),0,625)
_y(cnt)=limit(_y(cnt),0,460)
}
loop
|
|
2024/6/4(Tue) 10:43:32|NO.101774
>>¤é¤é¤µ¤ó
¤ª¤â¤·¤í¤¤¤Ã¤¹¤Í¡Á
ÇÛÎó¤Î´ÉÍý¤Ï¶ì¼ê¤Ç¤¹¡£¡£¤¬²¿¤È¤«Íý²ò¤Ç¤¤Þ¤·¤¿¡£
ºÇ¸å¤Îreturn¤¬È´¤±¤Æ¤Þ¤¹¤è¤©¡£
¥³¥Ô¥Ú¤¹¤ë¿Í¤ÏºÇ¸å¤Ë¡Öreturn¡×¤òÄɲä·¤Þ¤·¤ç¤¦¡Á¡ú
|
|
2024/6/4(Tue) 13:00:40|NO.101775
¤¢¤é¤Þ¡¢¥³¥Ô¥Ú¤ò¥ß¥¹¤Ã¤Æ¤¿¤Î¤À¡£¥Ü¥±¤Æ¤¿¤Î¤À¡£
¤Ç¤Ï¾¯¤·Äɲ䷤ƺƷǺܤ¹¤ë¤Î¤À¡£local ¤Î»È¤¤Êý¤â½ñ¤¤¤Æ¤ª¤¤¤¿¤Î¤À¡£
¤Á¤Ê¤ß¤Ë¸Ä¿ÍŪ¤Ë¤Ï local ¤Ï¤¢¤Þ¤ê»È¤ï¤Ê¤¤¤Î¤À¡£
¤½¤ì¤ÈÆȼ«´Ø¿ô¤äÌ¿Îá¤Ï¾å¤Î¤Û¤¦¤Ë½ñ¤«¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤È¤¤¤¦·è¤Þ¤ê¤Ï¤Ê¤¤¤ó¤Ç
²¼¤Î¤Û¤¦¤Ë½ñ¤¯¤³¤È¤Ç¡¢ºÇ½é¤Î goto *main ¤¬ÉÔÍפˤǤ¤ë¡£
¤³¤Î¥µ¥ó¥×¥ë¤Î²áÄø¤Ç¥²¡¼¥à¥¢¥¤¥Ç¥¢¤¬¤Ò¤È¤ÄÉ⤫¤ó¤À¤Î¤À¢ö
#define CHARA_MAX 50
dim x,CHARA_MAX
dim y,CHARA_MAX
dim back_y,CHARA_MAX
randomize
repeat CHARA_MAX
x(cnt)=rnd(626)
y(cnt)=rnd(466)
loop
*main
// Æ°¤·×»»
// Âè3¥Ñ¥é¥á¡¼¥¿¤Ï¥¸¥ã¥ó¥×¥Õ¥é¥°(ID)
CAL_JUMP x,y,rnd(CHARA_MAX)
test_local c: val=stat
// ÉÁ²è
redraw 0
color: boxf
color 255,255,0
repeat CHARA_MAX
pos x(cnt),y(cnt): mes "¡ú"
loop
color 0,255,255
pos 10,10: mes val
if val<30 { mes "TEST DEMO" }
redraw 1
await 16
c++
goto *main
;--------------------------------------------
#deffunc CAL_JUMP array _x, array _y, int _id
repeat CHARA_MAX
if cnt=_id {
if back_y(cnt)=0 {
back_y(cnt)=_y(cnt)+2-rnd(5) // ÃåÃÏÃÏÅÀ
spy(cnt)=-2-rnd(15)
spx(cnt)=3-rnd(7)
}
}
if back_y(cnt) {
_x(cnt)+=spx(cnt): _y(cnt)+=spy(cnt): spy(cnt)++
if _y(cnt)>back_y(cnt) { _y(cnt)=back_y(cnt): back_y(cnt)=0 }
_x(cnt)=limit(_x(cnt),0,625)
_y(cnt)=limit(_y(cnt),0,465)
}
loop
return
// ¥í¡¼¥«¥ëÊÑ¿ô¤Î¥Æ¥¹¥È(½èÍýÆâÍƤ˿¼¤¤°ÕÌ£¤Ï¤Ê¤¤)
// local ¤Ï¸å¤í¤Ëµ½Ò¤¹¤ë
#deffunc test_local int _p, local _x, local _y
_x=_p
_y=_x\60 // 0-59¤ò·«¤êÊÖ¤¹
return _y
// ¾åµ¤Î¤è¤¦¤ÊÆâÍƤʤéËÜÍè¤Ï¤³¤ì¤À¤±¤Ç¤¤¤¤(&´Ø¿ô¤Î¤¬Å¬ÀÚ)
;#deffunc test_local int _p
; return _p\60
| |
|
2024/6/4(Tue) 13:45:16|NO.101776
¼ÁÌä¼Ô¤ÎÊý°Ê³°¤Ç²¿ÅÙ¤â¥ì¥¹¤·¤Æ¿½¤·Ìõ¤Ê¤¤¤Ç¤¹¤¬¡¢
localÊÑ¿ô¤È¤¤¤¦¤Î¤Ï¡¢ÊÑ¿ô¤Ç¤Ï¤Ê¤¯¡¢»ØÄꤷ¤¿ÊÑ¿ô¤ò¡¢Ì¿Î᤬¸Æ¤Ð¤ì¤ë¤¿¤Ó¤Ë½é´ü²½¤¹¤ë¤È¤¤¤¦»ØÄê¤ÈÍý²ò¤·¤Æ¤¤¤Þ¤¹¡£
¡Ê¥×¥í¥°¥é¥ß¥ó¥°¥Þ¥Ë¥å¥¢¥ë(hspprog.htm)¤Î¥â¥¸¥å¡¼¥ë¹àÌÜ¡Ë
»ÈÍÑË¡¤È¤·¤Æ¤Ï
¡ºÆµ¢´Ø¿ô¤òºîÀ®¤¹¤ë¾ì¹ç¤Ë´Ø¿ô¤´¤È¤ËÃͤòÊÝ»ý¤¹¤ë¾ì¹ç
¢Ëè²óÊÑ¿ô¤ò½é´ü²½¤·¤ÆÌ¿Îá¤ò¸Æ¤Ó½Ð¤¹É¬Íפ¬¤¢¤ë¾ì¹ç
¤°¤é¤¤¤·¤«»×¤¤¤Ä¤¤Þ¤»¤ó¡£
¥ï¥¿¥¯¥·¤Ï¥â¥¸¥å¡¼¥ëÊÑ¿ô¿ä¿ÊÇɤǤ¹¤¬¡¢°ìÈÌŪ¤Ë¤ÏÇÛÎó¤ò»È¤¦¤Î¤¬¥»¥ª¥ê¡¼¤È¤¤¤¦¤È¤³¤í¤Ç¤·¤ç¤¦¤«¡£
|
|
2024/6/4(Tue) 15:39:56|NO.101777
¤³¤³¤Î¥í¡¼¥«¥ëÊÑ¿ô¤Î¹àÌܤòÆɤó¤Ç¤ß¤Æ¤Û¤·¤¤¤Î¤À¡£
http://www.onionsoft.net/hsp/v33/doclib/hspprog.htm#MODULE
¥ë¡¼¥×½èÍý¤«¤éÉÑÈˤ˸ƤӽФ¹¤È¡¢³ÎÊݤȲòÊü¤ò·«¤êÊÖ¤¹Ê¬¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤¬Áý¤¨¤ë¡£
ºÇ¶á¤Î´Ä¶¤Ç¤ÏÌäÂê¤Ë¤Ê¤ë¤Û¤É¤Î¤³¤È¤Ï̵¤¤¤È¤Ï»×¤¦¤¬¡¢¤ï¤¶¤ï¤¶¸úΨ°²½¤µ¤»¤ëɬÍפâ¤Ê¤¤¤È»×¤¦¤Î¤À¡£
¼Â¹Ô»þ¤ÎÆâÉô½èÍý¤â¹Í¤¨¤Æ½ñ¤¯¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£
|
|
2024/6/5(Wed) 17:42:35|NO.101779
buhio¤µ¤ó
localÊÑ¿ô¤Î»È¤¤Êý¤Ç¤¹¤¬¡¢¤´»ØŦ¤ÎÄ̤ê¤Ç²ò·è¤Ç¤¤Þ¤·¤¿¡£
¥¢¥¯¥·¥ç¥ó¥²¡¼¥à¤ÎÃ챤¬Á´¤¯¤Ê¤¯¿§¡¹¹Í¤¨¤¿·ë²Ì¡¢Ãæ³ØÀ¸¤Î»þ¤Ë¤Ê¤é¤Ã¤¿¿ô³Ø¤ÎÊüʪÀþ¤Î¥°¥é¥Õ¤ò»²¹Í¤Ë¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢
¤³¤ó¤Ê¤Ë¥¹¥Þ¡¼¥È¤Ê¥×¥í¥°¥é¥à¤Ç´Êñ²ò·è¤Ç¤¤ë¤È¤Ï»×¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£
ËÜÅö¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª
|
|
2024/6/5(Wed) 17:50:20|NO.101780
buhio¤µ¤ó¡ÊÄɵ¤ò¡Ë
¥â¥¸¥å¡¼¥ëÊÑ¿ô¤ò°ì»þ´ü³Ø¤ó¤Ç¤¤¤Æ¡¢Èó¾ï¤ËÊØÍø¤Çµ½Ò¤¬³Ú¤Ç»×¤¤Ä̤ê¤Ëºî¤ê¤ä¤¹¤¤¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢½èÍý®ÅÙŪ¤ËÇÛÎóÊÑ¿ô¤è¤êÎô¤ë¤È¤¤¤¦»ö¤È¾ÍèŪ¤Ëdish¤Ç¤Ï̤Âбþ¤È¤¤¤¦¤´¶µ¼¨¤ò¤³¤Á¤é¤Ç夤¤¿¤Î¤Ç¡¢ÇÛÎó¤Çºî¤ë¤è¤¦¤·¤Æ¤¤¤Þ¤·¤¿¡£
¤·¤«¤·¡¢µ¬ÌϤ¬Â礤¤¥×¥í¥°¥é¥à¤Î¾ì¹ç¤Ï¤³¤Á¤é¤ÎÊý¤¬¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«¡£
¤Þ¤À½é¿´¼Ô¤À¤Ã¤¿¤³¤í¤ËÇÛÎó¤Ç5Ëü¹Ô¤¯¤é¤¤¥×¥í¥°¥é¥à¤òÂǤÁ¹þ¤ó¤À¤¢¤¿¤ê¤Ç¥Ð¥°¤ò²ò·è¤Ç¤¤Ê¤¯¤Ê¤Ã¤ÆµÍ¤ó¤Ç¤·¤Þ¤Ã¤¿·Ð¸³¤¬¤¢¤ê¤Þ¤¹(:_;)
ÊÑ¿ô¤Î´ÉÍý¤¬Æñ¤·¤«¤Ã¤¿¤Î¤Ç¤Ê¤ë¤Ù¤¯ÊÑ¿ô¤ò¸º¤é¤·¤¿Êý¤¬¤¤¤¤¤Î¤«¤Ê¡©¤È¤Ï»×¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡£
¤½¤ì¤Ë¤·¤Æ¤â¤³¤¦¤·¤Æ¥×¥í¥°¥é¥à¤ò¤´Ä󼨤¤¤¿¤À¤¤¤ÆÊÙ¶¯¤¹¤ë¤Î¤Ã¤Æ¤È¤Ã¤Æ¤â³Ú¤·¤¤¤Ç¤¹¤Í¡£
|
|
2024/6/5(Wed) 18:02:04|NO.101781
Ve¤µ¤ó
¥í¡¼¥«¥ëÊÑ¿ô¤ò£³¤Ä¤Ë¸ÂÄꤹ¤ë°Õ¿Þ¤Ï¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¥¹¥¿¥Ã¥¯¤·¤Æ¤¤¤ë¤È¤Ï¤É¤¦¤¤¤¦»ö¤Ç¤·¤ç¤¦¤«¡©
½éÊâŪ¤Ê¼ÁÌä¤Ç¤¹¤ß¤Þ¤»¤ó¡£
|
|
2024/6/5(Wed) 18:44:39|NO.101782
vel+=grav ;®ÅÙ¤¬½ÅÎϤǸº¿ê
y¡¡+=vel ;y¤Ë¾åµ¤Î®ÅÙ¤ò²Ã»»
¤¿¤Ã¤¿¤³¤Î2¹Ô¤ÇÊüʪÀþ¤òÉÁ¤±¤ë¤È¤Ï¡Ä¼«Ê¬¤¬¶ò¤«¤Ë»×¤¨¤Æ¤¤Þ¤·¤¿¡£
|
|
2024/6/5(Wed) 19:15:59|NO.101784
Áë·î¤é¤é¤µ¤ó¤â¤´¶µ¼¨Äº¤¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤¤¤Ä¤â¤ªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹¡£
localÊÑ¿ô¤Î»È¤¤Êý¤ª¶µ¤¨Äº¤¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤Þ¤¿¡¢Æȼ«´Ø¿ô¤äÌ¿Îá¤ò¾å¤ÎÊý½ñ¤¯·è¤Þ¤ê¤Ï¤Ê¤¤¤È¤Î»ö¤ÇÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
²ò·è¤ËƳ¤¤¤Æ¤¯¤À¤µ¤ê¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª
localÊÑ¿ô¤Ï¤¢¤Þ¤ê»È¤ï¤ì¤Ê¤¤¤È¤Î»ö¤Ç¤¹¤¬¡¢»ä¤Ï·×»»ÍѤΰì»þŪ¤ÊÊÑ¿ô¤Ë¥Ç¥Ð¥Ã¥°²èÌ̤òÀêͤµ¤ì¤¿¤¯¤Ê¤¤¤È¤Î»×¤¤¤Î¤ß¤Ç°Â°×¤ËlocalÊÑ¿ô¤Ë¼ê¤ò½Ð¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£¡£
夤¤¿¥½¡¼¥¹¤ò¤ß¤ë¤ÈÁë·î¤é¤é¤µ¤ó¤Î¤ä¤ê¤«¤¿¤Ç_x¤ä_y¤¬±£¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¤¼¤Ò¤È¤â»²¹Í¤Ë¤µ¤»¤Æĺ¤¤Þ¤¹¡£
¤¢¤È¤Ïreturn _y¤¬stat¤ËÂåÆþ¤Ç¤¤ë¤È¤¤¤¦¤Î¤Ï½é¤á¤ÆÃΤê¤Þ¤·¤¿¡£
defcfunc¤Î¤ß¤À¤¿»×¤Ã¤Æ¤¤¤¿¤Î¤Ç¤³¤Á¤é¤âÁ᮳èÍѤ·¤¿¤¤¤È»×¤¤¤Þ¤¹¡ª
¤Þ¤ë¤ÇÀ¸¤¤Æ¤¤¤ëÍͤÊÆ°¤¤Ë´¶Ã²¤¹¤ë¤Ð¤«¤ê¤Î¥×¥í¥°¥é¥à¤Ç¤¹¤¬¡¢¤³¤ÎÆ°¤¤¬¤É¤ÎÍͤËÊÑ¿ô¤¬µ¡Ç½¤·¤Æ¤Ê¤µ¤ì¤Æ¤¤¤ë¤Î¤«¡¢¤¹¤°¤ËÍý²ò¤¹¤ë¤Î¤ÏÆñ¤·¤½¤¦¤Ç¤¹¡£
¼ÁÌä¤ò½Å¤Í¤ë¤Î¤Ï¤¤¤µ¤µ¤«¶²½Ì¤¹¤ë¤È¤³¤í¤Ç¤â¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¼«¿È¤Î³Ø½¬¤Î¤¿¤á¤Ë¤âÍý²ò¤Ç¤¤ë¤Þ¤ÇʬÀϤȽÏÆɤò½Å¤Í³Ø½¬²ÝÂê¤È¤µ¤»¤Æĺ¤¤Þ¤¹¡£(..)
¥²¡¼¥à¥¢¥¤¥Ç¥¢¤¬¤Ò¤È¤ÄÉ⤫¤ó¤À¤Î¤À¤È¤Î»ö¤Ç¤¤¤Ä¤â¤ªÀ¤ÏäˤʤäƤФ«¤ê¤Ç¤¹¤¬¡¢²¿¤«¤Î¤·¤Ë¤Ê¤ì¤¿¤Î¤Ç¤¢¤ì¤Ð¤È¤Æ¤â´ò¤·¤¤¤Ç¤¹¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
| |
|