HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2021
0715
¥ì¥¤¥Ê¥â¥¸¥å¡¼¥ëÊÑ¿ô¤Î¹Í¤¨Êý4̤²ò·è


¥ì¥¤¥Ê

¥ê¥ó¥¯

2021/7/15(Thu) 17:47:03|NO.93225

²¼µ­¤Î¥¹¥¯¥ê¥×¥È¤¬¥¨¥é¡¼¤Ë¤Ê¤ë¤Î¤Ï²¿¸Î¤Ç¤·¤ç¤¦¤«¡£
¤³¤ì¤ò²ò¾Ã¤·¤è¤¦¤È3»þ´Ö¤¯¤é¤¤³ÊÆ®¤·¤Æ¤ª¤ê¤Þ¤¹¡£
¤À¤ì¤«¤¿¤¹¤±¤Æ¤¯¤À¤µ¤¤¡¦¡¦¡¦



test init #module #deffunc test newmod dmg,_dmg,0//#Error 35 in line6(???) ¥â¥¸¥å¡¼¥ëÊÑ¿ô¤¬»ØÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ #global #module _dmg a cmp=0 #modinit int p1 a=p1 mes "a" return #modfunc init //ºÇŬ²½¤Ë¤è¤ë¥â¥¸¥å¡¼¥ëºï½ü¤òËɻߤ¹¤ë°Ù¤ÎÌ¿Îá return #global



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


¤È¤¢¤ë¥×¥í¥°¥é¥Þ

¥ê¥ó¥¯

2021/7/15(Thu) 18:14:58|NO.93226

#deffunc test¤ÎÃʳ¬¤Ç¤Ï¤Þ¤À _dmg ¤¬ºî¤é¤ì¤Æ¤Ê¤¤¤¿¤á¤Ç¤¹¡£
»È¤¦¤â¤Î¤ÏÀè¤ËÄêµÁ¤·¤Þ¤·¤ç¤¦¡£

¤½¤ì¤ÈºÇŬ²½Âкö¤Ç #modfunc init ¤ò¤·¤Æ¤¤¤Þ¤¹¤¬¡¢É¬ÍפǤ·¤ç¤¦¤«¡Ä¡©
¼«Ê¬¤Ïº£¤Î¤È¤³¤íºÇŬ²½¤Ç¥â¥¸¥å¡¼¥ë·¿ÊÑ¿ô¤¬ºï½ü¤µ¤ì¤¿¤³¤È¤Ï̵¤¤¤Î¤Çµ¤¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

¤Þ¤¿¡¢¤â¤·¹Ô¤¦¾ì¹ç #mod(c)func ¤ÏÂè1°ú¿ô¤Ë¥â¥¸¥å¡¼¥ë·¿ÊÑ¿ô¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¤Î¤Ç¡¢ init ¤Ç¤Ï¤Ê¤¯ init dmg@m0 ¤Ç¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¤¬¡£


//test //¸Ä¿ÍŪ¤Ë¤Ç¤¹¤¬¡¢¤³¤ì¤â¤³¤³¤Ç¤Ï¤Ê¤¯ #module~#global¤Î¸å¤Ë½ñ¤¯¤Î¤¬Ë¾¤Þ¤·¤¤ //init // »È¤¦¤â¤Î¤ÏÀè¤ËÄêµÁ #module _dmg a cmp = 0 #modinit int p1 a = p1 mes "a" return /* #modfunc init //ºÇŬ²½¤Ë¤è¤ë¥â¥¸¥å¡¼¥ëºï½ü¤òËɻߤ¹¤ë°Ù¤ÎÌ¿Îá return */ #global #module // ¤³¤³¤òÀè¤Ë½ñ¤¤¤Æ¤·¤Þ¤¦¤È¡¢¤³¤Î»þÅÀ¤Ç _dmg ¤¬ºîÀ®¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¥¨¥é¡¼¤Ë¤Ê¤ë #deffunc test newmod dmg, _dmg, 0 return //¢« return ½ñ¤­Ëº¤ì¡© #global // ÄêµÁ¤è¤ê¸å¤Ë½ñ¤¯¤Î¤¬Ë¾¤Þ¤·¤¤ test



¥ì¥¤¥Ê

¥ê¥ó¥¯

2021/7/15(Thu) 18:51:15|NO.93227

»î¤·¤Æ¤ß¤¿¤é²þÁ±¤µ¤ì¤Þ¤·¤¿¡£
½éÊâŪ¤Ê»ö¤Ç¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£ËÜÅö¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£


¤½¤ì¤ÈºÇŬ²½Âкö¤Ç #modfunc init ¤ò¤·¤Æ¤¤¤Þ¤¹¤¬¡¢É¬ÍפǤ·¤ç¤¦¤«¡Ä¡© ¼«Ê¬¤Ïº£¤Î¤È¤³¤íºÇŬ²½¤Ç¥â¥¸¥å¡¼¥ë·¿ÊÑ¿ô¤¬ºï½ü¤µ¤ì¤¿¤³¤È¤Ï̵¤¤¤Î¤Çµ¤¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

¤³¤Á¤é¤Î·ï¤Ç¤¹¤¬¡¢°ÊÁ°ºÇŬ²½¤Ç¥â¥¸¥å¡¼¥ë¤¬ºï½ü¤µ¤ì¡¢Ä´¤Ù¤¿¤È¤³¤í¤¢¤Þ¤ê¾ðÊ󤬤ʤ«¤Ã¤¿¤Î¤Ç
http://hsp.tv/play/pforum.php?mode=pastwch&num=779

HSP3.1b2°Ê¹ß¤Ç¤Ï¥³¥ó¥Ñ¥¤¥ë»þ¤ÎºÇŬ²½½èÍý¤Ë¤è¤ê ¤½¤ÎÆâÉô¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ëÌ¿Îᡦ´Ø¿ô¤¬ °ìÅÙ¤â¸Æ¤Ó½Ð¤µ¤ì¤ë¤³¤È¤Î̵¤¤¥â¥¸¥å¡¼¥ë¤Ï ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Ê¤¯¤Ê¤Ã¤¿¤è¤¦¤Ç¤¹¡£

¾åµ­¤Î·ÇºÜ¤ò¿®¤¸¡¢¥¨¥é¡¼¤¬½Ð¤¿¾ì¹ç¤ÏÌ¿Îá¤ò°ìÅ٤ϸƤӽФ¹Íͤˤ·¤Æ¤ª¤ê¤Þ¤¹¡£
¤â¤·¤«¤·¤Æ»äñÙ¤µ¤ì¤Æ¤¤¤¿¤ó¤Ç¤·¤ç¤¦¤«¡£
¥×¥í¥°¥é¥ß¥ó¥°¥Þ¥Ë¥å¥¢¥ëÅù¤âõ¤·¤¿¤Î¤Ç¤¹¤¬¡¢ºÇŬ²½¤Î»ÅÍͤˤĤ¤¤Æµ­ºÜ¤¬¤Ê¤¤¤Î¤Ç
ËÜÅö¤Ëº¤¤Ã¤Æ¤¤¤¿¤ê¤·¤Æ¤¤¤Þ¤¹¡£

¤Þ¤¿¡¢¾åµ­¤ÎÄ̤ê¥â¥¸¥å¡¼¥ë¤Ï¥³¥ó¥Ð¥¤¥ë»þ¤ËÄêµÁ¤µ¤ì¤ë»ÅÍͤÀ¤ÈÍý²ò¤·¤Æ¤¤¤ë¤Î¤Ç
#deffuncÌ¿Îá¤ÈƱ¤¸¤è¤¦¤Ë¥â¥¸¥å¡¼¥ë¤Îµ­ºÜ°ÌÃÖ¤ÏÌä¤ï¤º¥³¥ó¥Ñ¥¤¥ë¡Ê¥×¥í¥°¥é¥à¼Â¹Ô»þ¤ËÄêµÁ¡Ë¤µ¤ì¤ë¤â¤Î¤À¤È»×¤¦¤Î¤Ç¤¹¤¬¡¢
²¿¸Î¤³¤¦¤¤¤Ã¤¿¥¨¥é¡¼¤¬½Ð¤ë¤Î¤«¤Èº¤ÏǤ·¤Æ¤¤¤ë¼¡Âè¤Ç¤¢¤ê¤Þ¤¹¡£¡£¡£

¤â¤·¡¢µ¹¤·¤±¤ì¤Ð¤³¤ÎÅÀ¤Î»ÅÍͤ¬µ­ºÜ¤µ¤ì¤Æ¤¤¤ë¥µ¥¤¥È¤ä¥Þ¥Ë¥å¥¢¥ëÅù¤´Â¸ÃΤǤ·¤¿¤é¤ª¶µ¤¨¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
½Å¤Í½Å¤Í¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£



¤È¤¢¤ë¥×¥í¥°¥é¥Þ

¥ê¥ó¥¯

2021/7/17(Sat) 13:15:18|NO.93241

ºÇŬ²½¤Ë¤Ä¤¤¤Æ½ñ¤¤¤Æ¤¢¤ë¥µ¥¤¥È¤Ê¤É¤Ï

¤³¤³ (http://hsp.tv/play/pforum.php?mode=all&num=91811)
¤ä¡¢¤³¤³(https://blog.goo.ne.jp/hiro239415/e/124c9f194012df1b98e25670943c2703)

¤¢¤¿¤ê¤Ç¤¹¤«¤Í¡£¤½¤ì¤Ç¤â¾Ü¤·¤¯½ñ¤¤¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢»ä¤Îͽ¬¤Ç¤¹¤¬²òÀ⤷¤Æ¤ß¤¿¤¤¤È»×¤¤¤Þ¤¹¡£


¥ì¥¤¥Ê¤µ¤ó¤¬¶Ä¤é¤ì¤¿µ­»ö¤«¤é°úÍѤ·¤Æ²òÀ⤷¤Þ¤¹¤È¡¢¤Þ¤º¤³¤Î¥³¡¼¥É¤Ï¿¤¯Ê¬¤±¤Æ3¤Ä¤Ëʬ¤±¤é¤ì¤Þ¤¹¡£


­¡¥â¥¸¥å¡¼¥ë "test1" ¶õ´Ö

#module "test1" ; ¥¨¥é¡¼Âкö¡© #deffunc b return *test mes "test@test1" return #global

­¢¥â¥¸¥å¡¼¥ë "test2" ¶õ´Ö

#module "test2" #deffunc a gosub *test@test1 return #global

­£Root¶õ´Ö (Àµ¼°Ì¾¤ï¤«¤ê¤Þ¤»¤ó¡Ä)

a b ; ¤Ê¤¼¤«¸Æ¤Ó½Ð¤µ¤Ê¤¤¤È¥¨¥é¡¼¤Ë¤Ê¤ë stop

¤Î3¤Ä¤Ç¤¹¡£


¤³¤Î¥³¡¼¥É¤Ç­£¤Î b ¤òºï½ü¤¹¤ë¤È¥³¥ó¥Ñ¥¤¥ë»þ¤Ë¡Ö¥é¥Ù¥ë¤ÎÄêµÁ¤¬Â¸ºß¤·¤Þ¤»¤ó¡×¤Ë¤Ê¤ë¤È»×¤¤¤Þ¤¹¡£

¤½¤ì¤Ï¤Ê¤¼¤«¤È¤¤¤¦¤È¡¢b¤òºï½ü¤·¤¿»þÅÀ¤Ç¥â¥¸¥å¡¼¥ë "test1" Æâ¤ÇÄêµÁ¤µ¤ì¤¿Ì¿Îá¤Ï¡¢¤É¤³¤Ç¤â°ìÀڸƤӽФµ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
¡Ö¤É¤³¤Ç¤â°ìÀڸƤӽФµ¤ì¤Æ¤¤¤Ê¤¤¡×¤È¤¤¤¦¤Î¤Ï¡¢¤Ä¤Þ¤ê¡ÖÁ´¤¯»È¤ï¤ì¤Æ¤¤¤Ê¤¤¡×¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

¤Ê¤Î¤Ç¥³¥ó¥Ñ¥¤¥é¤Ï "test1" ¤Ï̤»ÈÍѤÈȽÃǤ·¤Æ¡¢ºÇŬ²½¤Î¤¿¤á¤Ë "test1" ¤Î¥â¥¸¥å¡¼¥ë¶õ´Ö¤ò´Ý¤´¤Èºï½ü¤·¤Þ¤¹¡£

¤¹¤ë¤È¡¢¤½¤Î¸å¤Î ­¢¤Î"test2" Æâ¤Ç¥¸¥ã¥ó¥×¤·¤è¤¦¤È¤·¤Æ¤¤¤ë°¸Àè¤Î *test@test1 ¤¹¤é¤âºï½ü¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¡Ö¥é¥Ù¥ë¤ÎÄêµÁ¤¬Â¸ºß¤·¤Þ¤»¤ó¡×¤Ë¤Ê¤ë¤ï¤±¤Ç¤¹¡£

¥³¥ó¥Ñ¥¤¥é¤Ï¥â¥¸¥å¡¼¥ë¶õ´ÖÆâ¤ÇÄêµÁ¤µ¤ì¤¿Ì¿Îá¤Î»ÈÍѤÎ̵ͭ¤Ï¥Á¥§¥Ã¥¯¤·¤Þ¤¹¤¬¡¢¥â¥¸¥å¡¼¥ë¶õ´ÖÆâ¤Î¥é¥Ù¥ë¤¬¥¸¥ã¥ó¥×Àè¤Ë»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¤Ï¥Á¥§¥Ã¥¯¤·¤Ê¤¤¤Î¤Ç¡¢¤³¤Î¤è¤¦¤Ê¥³¥ó¥Ñ¥¤¥ë¥¨¥é¡¼¤¬µ¯¤³¤ë¤ï¤±¤Ç¤¹¡£


¤½¤â¤½¤â¡¢¥â¥¸¥å¡¼¥ë¶õ´Ö³°¤«¤é¤½¤Î¥â¥¸¥å¡¼¥ë¶õ´ÖÆâ¤Î¥é¥Ù¥ë¤Ë¥¸¥ã¥ó¥×¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¥¸¥ã¥ó¥×¤¸¤ã¤Ê¤¯¤Æ #def(c)func ¤ò»È¤¨¤Ð¤¤¤¤¤«¤é¤Ç¤¹¡£
¤Ê¤Î¤ÇºÇŬ²½¤Ç¤Ï¥¸¥ã¥ó¥×¤Ï¥Á¥§¥Ã¥¯¤µ¤ì¤Ê¤¤¤Î¤À¤È»×¤¤¤Þ¤¹¡£(¤³¤ì¤Ï¸Ä¿ÍŪ¤Êͽ¬¤Ç¤¹¤¬)



¤È¤¢¤ë¥×¥í¥°¥é¥Þ

¥ê¥ó¥¯

2021/7/17(Sat) 13:44:03|NO.93242

>> ¤Þ¤¿¡¢¾åµ­¤ÎÄ̤ê¥â¥¸¥å¡¼¥ë¤Ï¥³¥ó¥Ð¥¤¥ë»þ¤ËÄêµÁ¤µ¤ì¤ë»ÅÍͤÀ¤ÈÍý²ò¤·¤Æ¤¤¤ë¤Î¤Ç
>> #deffuncÌ¿Îá¤ÈƱ¤¸¤è¤¦¤Ë¥â¥¸¥å¡¼¥ë¤Îµ­ºÜ°ÌÃÖ¤ÏÌä¤ï¤º¥³¥ó¥Ñ¥¤¥ë¡Ê¥×¥í¥°¥é¥à¼Â¹Ô»þ¤ËÄêµÁ¡Ë¤µ¤ì¤ë¤â¤Î¤À¤È»×¤¦¤Î¤Ç¤¹¤¬¡¢
>> ²¿¸Î¤³¤¦¤¤¤Ã¤¿¥¨¥é¡¼¤¬½Ð¤ë¤Î¤«¤Èº¤ÏǤ·¤Æ¤¤¤ë¼¡Âè¤Ç¤¢¤ê¤Þ¤¹¡£¡£¡£

¶Ä¤ëÄ̤ꡢ#¡û¡û·Ï¤Î¥×¥ê¥×¥í¥»¥Ã¥µ¤Ï¥³¥ó¥Ñ¥¤¥ë»þÅÀ¤Ç¼Â¹Ô¤µ¤ì¤ë¤Ï¤º¤Ê¤Î¤Ç¡¢

Î㤨¤Ð

mesHello stop #module #deffunc mesHello mes "Hello" return #global

¤³¤ì¤ÏÌäÂê¤Ê¤¯¼Â¹Ô¤Ç¤­¤Þ¤¹¡£


¤·¤«¤·

newmod dmg,_dmg,0//#Error 35 in line6(???) ¥â¥¸¥å¡¼¥ëÊÑ¿ô¤¬»ØÄꤵ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ stop #module _dmg a cmp=0 #modinit int p1 a=p1 mes "a" return #global

¤³¤ì¤À¤È¥¨¥é¡¼¤¬È¯À¸¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£


¶²¤é¤¯¤ÎͽÁۤǤ¹¤¬¡¢ÉáÄ̤Υ⥸¥å¡¼¥ë¤È¥â¥¸¥å¡¼¥ë·¿ÊÑ¿ô¤Ç¼Â¹Ô¤ä¥³¥ó¥Ñ¥¤¥ë¤Î¼ê½ç¤¬°ã¤¦¤Î¤Ç¤·¤ç¤¦¡£
»ÄÇ°¤Ê¤¬¤é¡¢»ä¤Ë¤Ï¤³¤ì¤¬¥Ð¥°¤Ê¤Î¤«»ÅÍͤʤΤ«¤Ïʬ¤«¤ê¤Þ¤»¤ó¡Ä¡¡¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£

¤É¤¦¤·¤Æ¤âµ¤¤Ë¤Ê¤ë¤è¤¦¤Ç¤·¤¿¤é¡¢¤³¤Î¤³¤È¤òÊ̤ο·µ¬ "Êó¹ð" ¥¹¥ì¥Ã¥É¤ä¤Ê¤É¤Ç¤ª¤Ë¤¿¤Þ¤µ¤ó¤Ëʹ¤¤¤Æ¤ß¤Æ¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£



ONION software Copyright 1997-2023(c) All rights reserved.