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


HSPTV!·Ç¼¨ÈÄ


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

2010
0707
info#deffunc #modfunc ¤Ê¤É¤Î°ú¿ô¤Î½é´üÃÍ10²ò·è


info

¥ê¥ó¥¯

2010/7/7(Wed) 09:29:41|NO.33566

#deffunc
#modfunc
¡¡Åù¤Î¥æ¡¼¥¶¡¼ÄêµÁÌ¿Îá¤Î°ú¿ô¤Î½é´üÃͤòÀßÄê¤Ç¤­¤ëµ¡Ç½¤¬¤Û¤·¤¤¤Ç¤¹¡£

¡¡¸½ºß¼«Ê¬ #define ¤È local »ØÄê¤Î¥æ¡¼¥¶¡¼ÄêµÁ´Ø¿ô¤Ç ½é´üÃͤòÀßÄꤷ¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡£
¡¡¤½¤ì¤Ç¤Ï¡¢¥¹¥¯¥ê¥×¥È¤Î²ÄÆÉÀ­¤¬¤«¤Ê¤ê°­¤¯¤Ê¤ê¤Þ¤¹¡£
¡¡#deffunc Åù¤Î¥æ¡¼¥¶¡¼ÄêµÁÌ¿Îá¤Ï¡¢¼«Í³¤Ë°ú¿ô¤Î°ÌÃÖ¤òÊѤ¨¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¤¬¡£
¡¡#define ¤Ç¤Ï¡¢¤½¤ì¤ÏÆñ¤·¤¤¤Î¤Ç¡¢Êѹ¹¤¹¤ë¤¿¤Ó¤Ë¡¢µç¶þ¤ÇÌÌÅݤÊÌܤ˰©¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£

ìÔÂô¤«¤âÃΤì¤Þ¤»¤ó¤¬¡¢²¼¤ÎÍͤʵ­½Ò¤¬½ÐÍè¤ë¤è¤¦¤Ê¤ì¤Ð¡£
¤«¤Ê¤ê¡¢²ÄÆÉÀ­¤¬¸þ¾å¤¹¤ë¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¡£


// ¤³¤Î¥¹¥¯¥ê¥×¥È¤Ï°ìÎã¤Ç¤¹¡£¼Â¹Ô¤¹¤ë¤ÈError¤ËÀ®¤ê¤Þ¤¹ ; ¥Ç¥Õ¥©¥ë¥È¤ÎÊÑ¿ô̾¤ò½é´ü²½ dim defaultvar@test , 5 defaultvar@test = 10,20,30,40,50 #module test #include "user32.as" #deffunc func int hwnd_ , int wid_ , str string_ , int x_ , int y_ , var buff_ #funcprm imposs hwnd_ // [ Impossible ] ¾ÊάÉÔ²Äǽ¤Ë¤¹¤ë ¾Êά¤µ¤ì¤¿¾ì¹ç¡¢°ú¿ô¤Ï¾Êά¤Ç¤­¤Þ¤»¤ó ¤Î¥¨¥é¡¼¤¬µ¯¤³¤ë¡£ #funcprm imposs wid_ // [ Impossible ] ¾ÊάÉÔ²Äǽ¤Ë¤¹¤ë ¾Êά¤µ¤ì¤¿¾ì¹ç¡¢°ú¿ô¤Ï¾Êά¤Ç¤­¤Þ¤»¤ó ¤Î¥¨¥é¡¼¤¬µ¯¤³¤ë¡£ #funcprm poss string_ = "hspwnd" // [ Possible ] ¾Êά²Äǽ¤Ë¤¹¤ë ʸ»úÎ󷿤ΤФ¢¤¤defaultÃͤò»ØÄꤷ¤Ê¤¤¤Èɬ¤º¥¨¥é¡¼ #funcprm x_ = ginfo_winx // ¤â¤·¾Êά¤µ¤ì¤¿¾ì¹ç ginfo_winx ¤¬°ú¿ô¤ËÅϤµ¤ì¤¿»ö¤ËÀ®¤ë #funcprm y_ = ginfo_winy // ¤â¤·¾Êά¤µ¤ì¤¿¾ì¹ç ginfo_winy ¤¬°ú¿ô¤ËÅϤµ¤ì¤¿»ö¤ËÀ®¤ë #funcprm poss buff_ = defaultvar // [ Possible ] ¾Êά²Äǽ¤Ë¤¹¤ë ÊÑ¿ô·¿¤Î¤Ð¤¢¤¤ defaultÃͤò»ØÄꤷ¤Ê¤¤¤Èɬ¤º¥¨¥é¡¼ // ²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹çdefault¤ËÀ®¤ë¡£x_¤Î¾ì¹ç¤Ï 0 ¤è¤Ã¤Æ¡¢°ÊÁ°¤Îµ­½Ò¤â²Äǽ dim m_status , length(buff_) memcpy m_status , buff_ , 4*length(buff_) m_size = x_ , y_ gsel wid_ : title string_ SetParent hwnd_ , hwnd return #global
¡¡



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


info

¥ê¥ó¥¯

2010/7/7(Wed) 09:37:21|NO.33567

½¤Àµ¤·¤Þ¤¹

>>// ²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹çdefault¤ËÀ®¤ë¡£x_¤Î¾ì¹ç¤Ï 0 ¤è¤Ã¤Æ¡¢°ÊÁ°¤Îµ­½Ò¤â²Äǽ

// ²¿¤â»ØÄꤷ¤Ê¤¤¾ì¹ç¤Ï º£¤Þ¤ÇÄ̤ê¤ÎÄ̾ï¤Î½èÍý¤ò¹Ô¤¦



birdrefsda

¥ê¥ó¥¯

2010/7/7(Wed) 12:44:40|NO.33568

>¤½¤ì¤Ç¤Ï¡¢¥¹¥¯¥ê¥×¥È¤Î²ÄÆÉÀ­¤¬¤«¤Ê¤ê°­¤¯¤Ê¤ê¤Þ¤¹¡£
¤«¤Ê¤ê°­¤¯¤Ê¤ëÎã¤ò¸«¤»¤Æ¡£

>¼«Í³¤Ë°ú¿ô¤Î°ÌÃÖ¤òÊѤ¨¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¤¬¡£
#define¤À¤È½ÐÍè¤Ê¤¤¤Î¡©½ÐÍè¤ë¤è¤Í¡£
#deffunc¤Î°ú¿ô¤ÎʤӤòÊѤ¨¤¿¤é#define¤â°ì½ï¤ËÊѤ¨¤ì¤Ð¤¤¤¤¡£
¤½¤ì¤¬ÌÌÅÝ¡©µ¤»ý¤Á¤ÎÌäÂꤸ¤ã¤Ê¤¤¤Î¡©

>²¼¤ÎÍͤʵ­½Ò¤¬½ÐÍè¤ë¤è¤¦¤Ê¤ì¤Ð¡£
>¤«¤Ê¤ê¡¢²ÄÆÉÀ­¤¬¸þ¾å¤¹¤ë¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¡£
¤½¤¦¡©


#module test // ¤¹¤Ù¤Æ¤Î°ú¿ô¤¬¾ÊάÉԲĤÊÎã #define global func(%1,%2,%3) func_ %1,%2,%3 // Âè2°ú¿ô°Ê¹ß¤¬¾ÊάÉԲĤÊÎã #define global func2(%1,%2=10,%3="hsp") func_ %1,%2,%3 // Âè2°ú¿ô°Ê¹ß¤¬¾ÊάÉԲĤÊÎã¤Ç²ÄÆÉÀ­¤ò¹Íθ¤·¤¿Îã(¥³¥á¥ó¥È¤òÆþ¤ì¤é¤ì¤Ê¤¤) #define global func3\ (\ %1,\ %2 = 100,\ %3 = "hsp3"\ )\ func_ %1,%2,%3 #deffunc func_ int p1, int p2, str p3 mes strf("%d %d %s", p1, p2, p3) return #global func_ func 1,2,"hello" func2 1 func3 10
Íפ¹¤ë¤Ë¥×¥ê¥×¥í¥»¥Ã¥µÃæ¤Ë¥³¥á¥ó¥È¤òËä¤á¹þ¤á¤ì¤ÐËü»ö²ò·è¡£
È¿±Ç¤µ¤»¤ë¤Î¤Ï´Êñ¤Ê¥Ï¥º¤À¤è¡£
¥×¥ê¥×¥í¥»¥Ã¥µ²òÀϤ˥³¥á¥ó¥È½èÍý¤ò¤Þ¤ó¤Þ»ý¤Ã¤Æ¤¯¤ì¤Ð¤¤¤¤¤À¤±¤Ç¤·¤ç¡©

>[ Possible ] ¾Êά²Äǽ¤Ë¤¹¤ë ÊÑ¿ô·¿¤Î¤Ð¤¢¤¤ defaultÃͤò»ØÄꤷ¤Ê¤¤¤Èɬ¤º¥¨¥é¡¼
¡Öposs¥­¡¼¥ï¡¼¥É¤ò»ØÄꤷ¤Æ¤âÊÑ¿ô·¿¤Î¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤ò¾Êά¤Ç¤­¤Ê¤¤¡×
¤Ä¤Þ¤ê¥­¡¼¥ï¡¼¥É¤Ï¤¿¤À¤Î¾þ¤ê¤Ç¼ÂºÝ¤Ï¾Êά¤¹¤ë·¿¤Ë¤è¤Ã¤Æ¾Êά²ÄÉԲĤ¬·è¤Þ¤Ã¤Æ¤¯¤ë¤ï¤±¤Ç
¤È¡¼¤Ã¤Æ¤â»ÅÍͤ¬Ê£»¨¡£

¾å¤Î¥¹¥¯¥ê¥×¥ÈÎã¤Ç¼¨¤·¤¿¤È¤ª¤ê¾Êά²Äǽ¤«¤É¤¦¤«¤Ï¡¢
¥Ç¥Õ¥©¥ë¥ÈÃͤ¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ç¤¤¤¤¤ï¤±¡£
·ë¶É¿ôÃͰʳ°¤Ï¥Ç¥Õ¥©¥ë¥ÈÃͤòÀßÄꤻ¤¶¤ë¤òÆÀ¤Ê¤¤¤ï¤±¤À¤«¤é¡¢
imposs/poss¤Ê¤É¤Î¥­¡¼¥ï¡¼¥É¤ÏÉÔÍס£
¤½¤ó¤Ê¤È¤³¤í¤ò¥Á¥§¥Ã¥¯¤·¡¢¾Êά²ÄÉԲĥե饰¤òON¤Ë¤·¤¿¤È¤³¤í¤Ç
¥Ç¡¼¥¿·¿¤Î¥Á¥§¥Ã¥¯¤ÏɬÍ×ÉԲķç¤Ê¤ï¤±¤À¤«¤é¤Í¡£

¤É¤ó¤ÊÉ÷¤Ë¥×¥ê¥×¥í¥»¥Ã¥µÃæ¤Ë¥³¥á¥ó¥È¤òËä¤á¤³¤á¤é¤ì¤ë¤«¡¢¤¬Âç»ö¡©
´Êñ¤Ç»ÅÍͤâÊ£»¨¤Ç¤Ï¤Ê¤¤¤Î¤Ï¡¢¥Ö¥í¥Ã¥¯¥³¥á¥ó¥È¤«¤Ê¡£

; ¥¤¥ó¥é¥¤¥ó¥³¥á¥ó¥È(Ï¢·ë½èÍý¤ËÊѹ¹Í­¤ê) #define global func3\ (\ %1,\ ; ¾ÊάÉÔ²Ä %2 = 100,\ ; ¾Êά»þ¤Ï100 %3 = "hsp3"\ ; ¾Êά»þ¤Ï"hsp3" )\ func_ %1,%2,%3 ; ¥¤¥ó¥é¥¤¥ó¥³¥á¥ó¥È(¥³¥á¥ó¥È½èÍý¤ËÊѹ¹¤¢¤ê) #define global func3\ (\ %1, ; ¾ÊάÉÔ²Ä\ %2 = 100, ; ¾Êά»þ¤Ï100\ %3 = "hsp3" ; ¾Êά»þ¤Ï"hsp3"\ )\ func_ %1,%2,%3 ; ¥Ö¥í¥Ã¥¯¥³¥á¥ó¥È(Ï¢·ë½èÍý¡¢¥³¥á¥ó¥È½èÍý¤ËÊѹ¹¤Ê¤¯Æ³Æþ¤Ç¤­¤ë) #define global func3\ (\ %1, /* ¾ÊάÉÔ²Ä */\ %2 = 100, /* ¾Êά»þ¤Ï100 */\ %3 = "hsp3" /* ¾Êά»þ¤Ï"hsp3" */\ )\ func_ %1,%2,%3



info

¥ê¥ó¥¯

2010/7/7(Wed) 15:15:13|NO.33570

¤´¤á¤ó¤Ê¤µ¤¤
¡¡¤Ê¤ó¤À¤«²ò¤ê¤Þ¤»¤ó¤¬¡¢Åܤ餻¤Æ¤·¤Þ¤Ã¤¿¤è¤¦¤Êµ¤¤¬¤¹¤ë¤Î¤ÇºÇ½é¤Ë¼Õ¤Ã¤Æ¤ª¤­¤Þ¤¹¡£
m(__)m

¼ºÎ餫¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢¼«Ê¬¤ÏÌÌÅݤʤ³¤È = ºî¶ÈŪ¤Ë¸úΨ¤Î°­¤¤¤³¤È¡¢ºî¶ÈŪ²þÁ±¤Î;ÃϤ¬¤¢¤ë»ö
¡¡¡¡¤À¤È¹Í¤¨¤Æ¤¤¤Þ¤¹¡£

#define ¤ò»È¤Ã¤¿½é´üÃͤÎÀßÄê¤ÎºÝ¤Î¡¢°ú¿ô¤ÎʤÓÂؤ¨¤ËɬÍפʻþ´Ö¤È
½é´üÃͤÎÀßÄê¤ò¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ç¤Î °ú¿ôʤÓÂؤ¨¤ËɬÍפʻþ´Ö¤Ï
¡¡°ú¿ô¤Î¿ô¤Ë°Í¸¤·¤Þ¤¹¡£¾¯¤Ê¤¯¤È¤â»°ÇÜÄøÅ٤κ¹¤¬Í­¤ê¤Þ¤¹¡£
¡¡ÌÌÅݤ˴¶¤¸¤ë¤Î¤ÏÅöÁ³¤ÎÍͤʵ¤¤¬¤·¤Þ¤¹¡£

¡¡Â¾¤ËÊýË¡¤¬¤Ê¤±¤ì¤Ð¤½¤ÎÊýË¡¤Ç³¤±¤ë¤·¤«¤Ê¤¤¤Ç¤¹¤¬¡¢
¡¡ÌÌÅݤÇ̵¤¤ÊýË¡¤¬Í­¤ì¤Ð¤¦¤ì¤·¤¤¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

¡¡²¿¤è¤ê¤â¡¢¼«Ê¬¤Ï¡¢ºî¤Ã¤Æ¤¯¤ì¤¿¿Í¤Î¶ìÏ«¤ò¼ºÇ°¤·¤Æ¤¤¤¿¤è¤¦¤Ç¤¹¡£
¡¡°Ê¸åµ¤¤ò¤Ä¤±¤Þ¤¹¡£



ÌÚ¼

¥ê¥ó¥¯

2010/7/8(Thu) 01:23:24|NO.33584

>birdrefsdr¤µ¤ó
>>¤«¤Ê¤ê°­¤¯¤Ê¤ëÎã¤ò¸«¤»¤Æ¡£

#module test #include "user32.as" #deffunc set_defaultvar array date_of_set dim defaultvar,length(date_of_set) repeat length(date_of_set) defaultvar.cnt = date_of_set.cnt loop return #define global func(%1 , %2 , %3 , %4 = ginfo_winx , %5 = ginfo_winy , %6 = defaultvar) \ _func_ %1 , %2 , %3 , %4 , %5 , %6 #deffunc _func_ int hwnd_ , int wid_ , str string_ , int x_ , int y_ , var buff_ ;¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½ ; func hwnd_, wid_, string_, x_, y_, buff_ ;­¡¡¡¥¦¥£¥ó¥É¥¦wid_¤Î¥¿¥¤¥È¥ë¥Ð¡¼¤òstring_¤ËÊѹ¹¤·¤Æ ;­¢¡¡¥Ï¥ó¥É¥ëÈÖ¹æhwnd_¤Î¥ª¥Ö¥¸¥§¥¯¥È¤òÝ಼¤ËÊÔÆþ¤¹¤ëÌ¿Îá¡© ;¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½¡½ if string_ ! "hspwnd" : dialog "Â裳°ú¿ô¤Ïɬ¤º\"hspwnd\"¤Ë¤·¤Æ¤¯¤À¤µ¤¤" : end dim m_status , length(buff_) memcpy m_status , buff_ , 4 * length(buff_) m_size = x_ , y_ gsel wid_ : title string_ SetParent hwnd_ , hwnd return #global dim date , 5 date = 10 , 20 , 30 , 40 , 50 set_defaultvar date func 0 , 0 , "hspwnd" , , ,
¡¡¤³¤ó¤Ê´¶¤¸¤Ç¤·¤ç¤¦¤«¡£#define¡Á#deffunc¹½Ê¸¤¬³Î¤«¤Ë¡¢¸À¸ì»ÅÍͼ¡Âè¤Ç¤Ï¾Êά¤Ç¤­¤½¤¦¤Ê
µ¤¤Ï¤·¤Þ¤¹¤Í¡£


¡¡¸åinfo¤µ¤ó¡¢¸Ä¿ÍŪ¤Ë¤Ï¥â¥¸¥å¡¼¥ëÆâÉô¤ÎÊÑ¿ô¤Ëľ¤Ë¥¢¥¯¥»¥¹¤¹¤ëÍÑË¡

dim defaultvar@test , 5 defaultvar@test = 10,20,30,40,50
¤ÏÈò¤±¤é¤ì¤¿Êý¤¬¤è¤í¤·¤¤¤«¤È»×¤¤¤Þ¤¹¡£·Ç¼¨Èľå¤Ç̵Â̤ÊʸÌ̤¬Áý¤¨¤Ê¤¤¤è¤¦¡¢¤³¤Î·Á¤Ë
¤µ¤ì¤Æ¤¤¤ë¤Î¤À¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢Ç°¤Î°Ù¤Ë½ñ¤«¤»¤Æ¤¤¤¿¤À¤­¤Þ¤·¤¿¡£¸æ̵Îé¤ò¤Ð¡£



774

¥ê¥ó¥¯

2010/7/9(Fri) 21:19:39|NO.33601

¤Á¤ç¤Ã¤È´ØÏ¢¼ÁÌä¤Ê¤ó¤Ç¤¹¤¬
#deffuncÆâ¤Ç°ìÈÌÌ¿Îá¤ò»È¤¦¤È¤­Ëö¤Ë@¤ò¤Ä¤±¤ë¥ë¡¼¥ë¤¬¤¢¤ë¤ß¤¿¤¤¤Ç¤¹¤±¤É
¤³¤ì¤Ï¥Þ¥Ë¥å¥¢¥ë¤Î¤É¤³¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¤«?
ɬ»à¤Çõ¤·¤Þ¤·¤¿¤¬¸«Åö¤¿¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£



¤¢¤Þ¤Þ

¥ê¥ó¥¯

2010/7/9(Fri) 22:59:26|NO.33602

> 774¤µ¤ó
@¤Ï#deffunc¤ÇÄ´¤Ù¤ë¤è¤ê¤â¥â¥¸¥å¡¼¥ë¤Ë´Ø¤·¤ÆÄ´¤Ù¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£



info

¥ê¥ó¥¯

2010/7/9(Fri) 23:24:53|NO.33603

¤³¤¦¤¤¤¦»ö¤Ç¤¹¤«¡©


#module module_test #deffunc Test color 255 mes@ "¡Ö¡÷ÉÕ¤­¤ÎmesÌ¿Îá¡×¤¬¼Â¹Ô¤µ¤ì¤Þ¤·¤¿¡£" GlobalSpaceUserFunc@ return #global // °Ê²¼¥°¥í¡¼¥Ð¥ë¶õ´Ö Test // module_test¤Î TestÌ¿Îá¤ò¼Â¹Ô stop #deffunc GlobalSpaceUserFunc color 0,0,255 mes "¡Ö¥°¥í¡¼¥Ð¥ë¶õ´Ö¤Î¥æ¡¼¥¶¡¼ÄêµÁÌ¿Îá¡× ¤¬¼Â¹Ô¤µ¤ì¤Þ¤·¤¿¡£" return

¿ʬ¤½¤ì¤¬¥°¥í¡¼¥Ð¥ë¶õ´Ö¤ÎÌ¿Îá¤ÇÍ­¤ë»ö¤ÎÌÀ¼¨¤À¤È»×¤¤¤Þ¤¹¡£

¥·¥¹¥Æ¥àŪ¤Ë¤ÏɬÍפʤ¤¤Ç¤¹¤¬¡¢
Î㤨¤Ð¡¢¿§Ê¬¤±¤µ¤ì¤Ê¤¤¥¨¥Ç¥£¥¿¤ò»È¤Ã¤Æscript¤ò½ñ¤¯ºÝ¤Ë¤Ï¡¢
¤³¤ÎÌÀ¼¨¤¬Í­¤Ã¤¿Êý¤¬²ò¤ê¤ä¤¹¤¯À®¤ë¤È»×¤¤¤Þ¤¹¡£

²Ë¤Ê¤È¤­¤Ë¡¢·ÈÂÓÅÅÏäǥݥÁ¥Ý¥ÁÂǤĤΤâ³Ú¤·¤½¤¦¤Ç¤¹¡£

¡Ê¼«Ê¬¤Ï¤ä¤Ã¤¿»ö¤Ê¤¤¤Ç¤¹¤¬¡Ë



¥Æ¥Ã¥¯

¥ê¥ó¥¯

2010/7/9(Fri) 23:35:40|NO.33604

>774¤µ¤ó
>¤Á¤ç¤Ã¤È´ØÏ¢¼ÁÌä¤Ê¤ó¤Ç¤¹¤¬
>#deffuncÆâ¤Ç°ìÈÌÌ¿Îá¤ò»È¤¦¤È¤­Ëö¤Ë@¤ò¤Ä¤±¤ë¥ë¡¼¥ë¤¬¤¢¤ë¤ß¤¿¤¤¤Ç¤¹¤±¤É
>¤³¤ì¤Ï¥Þ¥Ë¥å¥¢¥ë¤Î¤É¤³¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¤«?
¡÷¥â¥¸¥å¡¼¥ë̾¤Î»È¤¤Êý¤Ï¡¢
HSP Document Library¤Î
#deffunc¤ä#defcfunc¤ÎÀâÌÀ¤Çµ­½Ò¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢
ʬ¤«¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢
¤¿¤À¡÷¤òÉÕ¤±¤ë¤À¤±¤Î¤Ï¡¢µ­ºÜ¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Çʬ¤«¤é¤Ê¤¤¤«¤âÃΤì¤Þ¤»¤ó¡£

¤ï¤¿¤·¤Ï¡¢¹©³Ø¼Ò £É¡¿£Ï £Â£Ï£Ï£Ë£Ó¤Î¡Ö£È£Ó£Ð£³ ¥ê¥Õ¥¡¥ì¥ó¥¹¥Ö¥Ã¥¯¡×¤Ç
»ÈÍÑÊýË¡¤òÃΤê¤Þ¤·¤¿¡£
¾åµ­¤Î½ñÀҤǤϡ¢°Ê²¼¤Îµ­½Ò¤¬¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥â¥¸¥å¡¼¥ë³°Éô¤«¤é¡¢¥â¥¸¥å¡¼¥ëÆâÉô¤ÎÊÑ¿ô¤ò»²¾È¤·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢
¡ÖÊÑ¿ô̾¡÷¥â¥¸¥å¡¼¥ë̾¡×¤È¤¤¤¦½ñ¼°¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
µÕ¤Ë¥â¥¸¥å¡¼¥ëÆâÉô¤«¤é¥â¥¸¥å¡¼¥ë³°Éô(¥°¥í¡¼¥Ð¥ëÉôʬ)¤ò
»²¾È¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¡ÖÊÑ¿ô̾¡÷¡×¤È¤¤¤¦½ñ¼°¤Ç»²¾È¤Ç¤­¤Þ¤¹¡£

Ê䭤Ȥ·¤Æµ­ºÜ¤·¤Æ¤ª¤­¤Þ¤¹¤È¡¢
¥â¥¸¥å¡¼¥ëÆâÉô¤«¤éɸ½àÌ¿Îá¤ò»²¾È¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢
¡ÖÌ¿Îá̾¡÷hsp¡×¤È¤¤¤¦½ñ¼°¤ß¤¿¤¤¤Ç¤¹¤Í¡£

¤â¤·774¤µ¤ó¤¬¡¢C/C++¤òÍý²ò¤Ç¤­¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢
¡÷¤Ï¡¢¥¹¥³¡¼¥×±é»»»Ò¤Î¤³¤È¤À¤È»×¤¨¤Ð¡¢
Íý²ò¤·¤ä¤¹¤¤¤È»×¤¤¤Þ¤¹¡£
·ëÏÀ¤ò¤¤¤¦¤È¡÷¤Î¸å¤í¤Ë¤Ï¡¢¤É¤³¤ÎÈÏ°Ï(¥¹¥³¡¼¥×)¤«¤ò»ØÄꤹ¤ë¤³¤È¤Ç¤¹¡£
¾Êά¤¹¤ì¤Ð¡¢¥°¥í¡¼¥Ð¥ë¤Î¤È¤¤¤¦°ÕÌ£¤Ë¤Ê¤ê¤Þ¤¹¡£

¢­¤Ë¥µ¥ó¥×¥ë¥¹¥¯¥ê¥×¥È¤òµ­ºÜ¤·¤Æ¤ª¤­¤Þ¤¹¡£

#module test // ¥â¥¸¥å¡¼¥ëÊÑ¿ôÀë¸À nSample = 0 #deffunc def_test1 // ¥°¥í¡¼¥Ð¥ëÊÑ¿ô¤ÎnSample¤ËÃͤòÂåÆþ¤¹¤ë // ¡÷¤Ï¡¢"¤Î"¤ËÃÖ¤­´¹¤¨¤ì¤Ð¡¢°ÕÌ£¤¬¤ï¤«¤ê¤ä¤¹¤¤ nSample@ = 10 return #deffunc def_test2 // ¥°¥í¡¼¥Ð¥ëÊÑ¿ô¤ÎnSample¤ÎÆâÍƤòɽ¼¨¤¹¤ë mes@hsp nSample@ return #global // ¥°¥í¡¼¥Ð¥ëÊÑ¿ôÀë¸À nSample = 0 def_test1 def_test2 // ¥â¥¸¥å¡¼¥ë̾¡Ötest¡×¤ÎnSample¤ËÃͤòÂåÆþ¤¹¤ë nSample@test = 20 // ¥â¥¸¥å¡¼¥ë̾¡Ötest¡×¤ÎnSample¤ÎÆâÍƤòɽ¼¨¤¹¤ë mes@hsp nSample@test // ¥°¥í¡¼¥Ð¥ëÊÑ¿ô¤ÎnSample¤ÎÆâÍƤòɽ¼¨¤¹¤ë mes@hsp nSample@ stop



ANTARES

¥ê¥ó¥¯

2010/7/10(Sat) 00:36:15|NO.33605

>#deffuncÆâ¤Ç°ìÈÌÌ¿Îá¤ò»È¤¦¤È¤­Ëö¤Ë@¤ò¤Ä¤±¤ë¥ë¡¼¥ë¤¬¤¢¤ë¤ß¤¿¤¤¤Ç¤¹¤±¤É
¡¡¡Ö¥â¥¸¥å¡¼¥ëÆâ¤Ç¡¢Â¾¤Î¥â¥¸¥å¡¼¥ë¤ÇÄêµÁ¤µ¤ì¤¿Ì¿Îá¤ò»È¤¦¤È¤­
Ì¿Îá¸ìËö¤Ë@¤ò¤Ä¤±¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡×¤Î¸í¤ê¤Ç¤Ï¡©

>¤³¤ì¤Ï¥Þ¥Ë¥å¥¢¥ë¤Î¤É¤³¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¤«?
¡¡¾åµ­¤Î°ÕÌ£¤È²¾Äꤷ¤Þ¤¹¡£
ºÇ¶á¡¢ÀºÆɤ·¤Æ¤Ê¤¤¤ó¤Ç´Ö°ã¤Ã¤Æ¤¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢½ñ¤«¤ì¤Æ¤Ê¤¤µ¤¤¬¤·¤Þ¤¹¡£
¡¡¤¿¤À¡¢ËÜÍè¤Ï¡Ö@hogehoge¡×¡Ê¡Öhogehoge¡×¤Ï¤½¤ÎÌ¿Î᤬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë
¥â¥¸¥å¡¼¥ë̾¡Ë¤È½ñ¤¯¤Ù¤­¤Ê¤Î¤«¤â¤·¤ì¤Þ¤»¤ó¡Ê¤½¤ì¤Ë¤·¤Æ¤âÌ¿Îá¤ò
¥â¥¸¥å¡¼¥ë̾¤Ç½¤¾þ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤È¤¤¤¦µ­½Ò¤Ï¸«¤¿µ­²±¤¬¤¢¤ê¤Þ¤»¤ó¤¬¡Ë¡£
¥â¥¸¥å¡¼¥ë̾¤Ê¤·¤Î¡Ö@¡×¤Ï¥°¥í¡¼¥Ð¥ë̾Á°¶õ´Ö¤òɽ¤¹¤Î¤Ç¡¢
¤½¤ì¤Ç¤â¤è¤¤¤È¤¤¤¦¤À¤±¤«¤â¤·¤ì¤Þ¤»¤ó¡£



774

¥ê¥ó¥¯

2010/7/10(Sat) 11:22:23|NO.33607

¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¹©³Ø¼Ò £É¡¿£Ï £Â£Ï£Ï£Ë£Ó¤Î¡Ö£È£Ó£Ð£³ ¥ê¥Õ¥¡¥ì¥ó¥¹¥Ö¥Ã¥¯¤Ê¤É¤ÎÍ­ÎÁËܤǤ·¤«½ñ¤«¤ì¤Æ¤Ê¤¤¤ó¤Ç¤¹¤Í¡£
»ä¤â³Îǧ¤·¤¿¤Î¤Ç¤¹¤¬¡¢Easy3DforHSP¤Î³Ê¥²¡¼ºîÀ®²òÀâ¤Î¥Þ¥Ë¥å¥¢¥ë¤Ç¤â½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£



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