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


HSPTV!·Ç¼¨ÈÄ


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

2009
0406
£È£Ó£ÐĶ¥É½é¿´¼Ô#define ¤¬¥¨¥é¡¼6²ò·è


£È£Ó£ÐĶ¥É½é¿´¼Ô

¥ê¥ó¥¯

2009/4/6(Mon) 15:17:29|NO.24488

¤³¤ó¤Ë¤Á¤Ï¡£
£È£Ó£ÐĶ¥É½é¿´¼Ô¤Ç£´ÆüǺ¤ó¤Ç¤¤¤Þ¤¹¡£
¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡¨¡¨

·ë²Ì¤È¤·¤Æ¡¢
­¡¥á¥¤¥óHSPµ­½Ò¥Ú¡¼¥¸Æâ»ØÄê¤Î²èÁü¤ò±¦¥¯¥ê¥Ã¥¯¤Ç¥Ý¥Ã¥×¥¢¥Ã¥×
­¢¥Ý¥Ã¥×¥¢¥Ã¥×¥ê¥¹¥È(20¹àÌÜ)¤«¤éÁªÂò¤Çlistboxɽ¼¨
­£listbox¤Ï¾ï¤Ëɽ¼¨(return¤â¤·¤¯¤ÏendÁªÂò°Ê³°)
­¤listbox¤Î¹àÌÜ(10¹àÌÜ)¤Î£×¥¯¥ê¥Ã¥¯ÁªÂò¤Ç»ØÄꤵ¤ì¤¿²èÁüɽ¼¨

¤ò¡¢¤·¤¿¤¯¤Æ­¡¡Á­£¤Þ¤Ç»×¤¤Ä̤ê¤Î·Á¤Ë°ì±þ¤Ç¤­¤¿¤Î¤Ç¤¹¤¬¡¢
¥Ý¥Ã¥×¥¢¥Ã¥×¥ê¥¹¥È¤ÎÃæ¤Î20¹àÌÜʬ¤Î#include¤µ¤»¤ë°Ù¤Ë
20£È£Ó£Ðµ­½Ò¤òºî¤Ã¤¿¤ó¤Ç¤¹¤¬¡¢¤½¤ÎlistboxÀßÃÖµ­½Ò¤¹¤Ù¤Æ¤Ë

#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)

¤¬¡¢µ­½Ò¤·¤Æ¤¢¤ê¤Þ¤¹¡£
¤³¤Î¤Þ¤Þ¥á¥¤¥óHSPµ­½Ò¤Ç£Æ£µ¤ò²¡¤¹¤È¡¢

#HSP script preprocessor ver3.1 / onion software 1997-2007(c)
#Use file [hspdef.as]
#Error:symbol in use [hiword] in line 3 [listbox2.hsp]
#Fatal error reported.
#Error:symbol in use [hiword] in line 81 [popuplist.hsp]
#Fatal error reported.
#Error:symbol in use [hiword] in line 11 [hsptmp]
#Fatal error reported.

¤È¡¢½Ð¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
line 3 [list2.hsp]¤Î¥¨¥é¡¼¤Ë¤Ä¤¤¤Æ
listboxÀßÃÖµ­½Ò£È£Ó£Ð¥Ú¡¼¥¸¤Î¤¹¤Ù¤Æ¤Îline 3¤Ë¤Ï
#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)¤¬¡¢
µ­½Ò¤µ¤ì¤Æ¤¤¤Æ¡¢
ºÇ½é¤Ë#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
¤òµ­½Ò¤·¤¿¥Ú¡¼¥¸¤Ï¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¤Î¤Ç
»×¤¤Åö¤¿¤ë¤³¤È¤È¤¤¤¨¤Ð
#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
¤¬¡¢19²ó½ÅÊ£µ­½Ò¤·¤Æ¤¤¤ë¤Î¤Ç2¹àÌܤá¤Î
#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
¤¬¡¢¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤·¤¿¡£

¤³¤Î20¹àÌÜʬ¤Îlistboxµ­½Ò¤Î½ÅÊ£Éôʬ¤ò
¤É¤¦¤¹¤ì¤Ð¥¨¥é¡¼¤¬½Ð¤º¤Ëɽ¼¨¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¤«¤¬
¤ï¤«¤ê¤Þ¤»¤ó¡£

ÀâÌÀ¤¬²¼¼ê¤Ç¥Û¥ó¥È¿½¤·Ìõ¤Ê¤¤¤Ç¤¹¡¨¡¨
²ò¤ê¤Å¤é¤¤¤È»×¤¤¤Þ¤¹¤¬¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡¨¡¨

µ¹¤·¤¯¤ª´ê¤¤Ãפ·¤Þ¤¹¡£



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


inovia

¥ê¥ó¥¯

2009/4/6(Mon) 15:33:40|NO.24489

Ʊ¤¸Ì¾Á°¤Î¥Þ¥¯¥í(#define)¤Ï½ÅÊ£¤·¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£
¥¹¥¯¥ê¥×¥È¤Î½ñ¤­Êý¤ËÌäÂ꤬¤¢¤ë¤«¤È¡£

²Äǽ¤Ç¤¢¤ì¤Ð¡¢¥¢¥Ã¥×¥í¡¼¥À¤Ë¤¢¤²¤Æ¤ß¤Æ¤Ï¡©
¡Ä¤È¤¤¤¦¤«¡¢½ÅÊ£¤·¤Æ¤¤¤ëÉôʬ¤òÁ´Éôºï½ü¤·¤Æ¤Ï¤É¤¦¤Ç¤¹¤«¡©



check

¥ê¥ó¥¯

2009/4/6(Mon) 16:01:38|NO.24490

²¿¤¬¸À¤¤¤¿¤¤¤Î¤«¤Û¤È¤ó¤É¤ï¤«¤é¤Ê¤¤¤Î¤À¤¬¡¢
¤È¤ê¤¢¤¨¤ººÇ½é¤Î#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)¤À¤±»Ä¤·¤Æ
¸å¤Ë½Ð¤Æ¤­¤¿#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)¤ò¤¹¤Ù¤Æºï½ü¤·¤Æ¤ß¤Ê¡£



ƿ̾

¥ê¥ó¥¯

2009/4/6(Mon) 16:48:26|NO.24491

>#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
»×¤ï¤Ì²ò¼á¤ò¤µ¤ì¤Æ¤¤¤ë¤«¤â¤·¤ì¤Ê¤¤¤Î¤Ç¡¢»×¤¤Åö¤¿¤ë¤È¤³¤íÁ´¤Æ¤Ë³ç¸Ì¤ò¤Ä¤±¤Æ¤ß¤Æ¤Ï?
Î㤨¤Ð¡¢

#define ctype HIWORD(%1) (%1 >> 16 & $FFFF) mes HIWORD(1 | 2)
¤È¤¹¤ë¤È¤É¤¦¤Ê¤ë¤Ç¤·¤ç¤¦¤«?



HSPĶ¥É½é¿´¼Ô

¥ê¥ó¥¯

2009/4/6(Mon) 22:53:51|NO.24496

inovia¤µ¤ó¡¢check¤µ¤ó¡¢Æ¿Ì¾¤µ¤ó
¤ªÊÖ»ö¤¢¤ê¤¬¤È¤Ç¤¹¡¨¡¨

ºÇ½é¤Î#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
¤ò»Ä¤·¤Æ¸å¤Î¤òÁ´Éô¾Ã¤·¤Æ¤ß¤Þ¤¹¡¨¡¨

¤½¤ì¤Ç¤â¤Ç¤­¤Ê¤±¤ì¤Ð¤Þ¤¿¤­¤Þ¤¹¡¨¡¨

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡¨¡¨



¥ì¥Î¥¹

¥ê¥ó¥¯

2009/4/6(Mon) 23:46:16|NO.24497

¤Ä¤¤¤Ç¤Ë¡§
#define ¤ò¤¹¤Ù¤Æ #ifndef ¤È #endif ¤Ç°Ï¤à¤È¤¤¤¦ÊýË¡¤â¤¢¤ê¤Þ¤¹¡£( ¾Ü¤·¤¯¤Ï F1 ¥­¡¼¤Î¥Ø¥ë¥×¤Ç )
HIWORD ¤ä LOWORD ¤Î¤è¤¦¤Ë¡¢Â¾¤Î¾ì½ê¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë

¤Ä¤¤¤Ç¤Î¤Ä¤¤¤Ç¤Ë¡§
¡Ö¥á¥¤¥óHSPµ­½Ò¥Ú¡¼¥¸¡×¡Ö¡·Æâ»ØÄê¤Î²èÁü¡×¡Öreturn¤â¤·¤¯¤ÏendÁªÂò°Ê³°¡×
¡Ö20£È£Ó£Ðµ­½Ò¡×¡Ö¥á¥¤¥óHSPµ­½Ò¡×
¤¬¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¡£¡ÖHSPµ­½Ò¡×¡á¡á¡Ö¥¹¥¯¥ê¥×¥È¡×¤Ç¤·¤ç¤¦¤«¡£
¤Þ¤¿¡¢listbox ¤Î·ï¤â¡¢ÀâÌÀÉÔ­¤Ê´¶¤¸¤Ç¡¢¾õ¶·¤¬ÁÛÁü¤·¤Ë¤¯¤¤¤Ç¤¹¡£
Åê¹Æ¤¹¤ë¤È¤­¤Ï¡¢Ê¸¾Ï¤òÆɤßľ¤·¡¢Â¾¤Î¿Í¤Ë¤â¤¦¤Þ¤¯Ä̤¸¤ë¤«¤É¤¦¤«¤ò³Îǧ¤·¤¿Êý¤¬
¤¤¤¤¤«¤È»×¤ï¤ì¤Þ¤¹¡£

¤Ä¤¤¤Ç¤Î¤Ä¤¤¤Ç¤Î¤Ä¤¤¤Ç¤Ë¡§
´Ý¤Ç°Ï¤Þ¤ì¤¿¿ô»ú¤Ï¡¢É½¼¨¤Ç¤­¤Ê¤¤¤³¤È¤¬¤¢¤ë¤Î¤Ç¡¢»È¤ï¤Ê¤¤Êý¤¬¤¤¤¤¤Ç¤¹¡£


¥Ä¥Ã¥³¥ß²á¤®¤Ç¡¢¤¹¤¤¤Þ¤»¤ó¡£



£È£Ó£ÐĶ¥É½é¿´¼Ô

¥ê¥ó¥¯

2009/4/7(Tue) 15:50:26|NO.24500

inovia¤µ¤ó¡¢check¤µ¤ó¡¢Æ¿Ì¾¤µ¤ó¡ä
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡°¡°
¤Ç¤­¤Þ¤·¤¿¡°¡°
¥Û¥ó¥È¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

¥ì¥Î¥¹¤µ¤ó¡ä
¼«Ê¬¤Ï²¿¤«¤é¥«¥­¥³¤·¤¿¤é¤¤¤¤¤Î¤«¤ï¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç
HSP¤¬²ò¤ëÊý¤Ê¤é¤Ê¤ó¤È¤Ê¡¼¤¯¤ï¤«¤ë¤Î¤Ç¤Ï¤Ê¤¤¤«¤È
»×¤Ã¤Æ¼«Ê¬¤¬½ñ¤±¤ë¤À¤±ÇÄ°®¤·¤Æ¤ë¤À¤±¤Î¤³¤È¤Ï
½ñ¤³¤¦¤È»×¤Ã¤Æ½ñ¤¤¤¿¤Ç¤¹¡£
²ò¤ê¤Ë¤¯¤¯¤Æ¤¹¤¤¤Þ¤»¤ó¡¨¡¨
¤¢¤È¡¢´Ý¤Ç°Ï¤Þ¤ì¤¿¿ô»ú¤Ï¥¹¥¯¥ê¥×¥È¤Ë¤Ï»È¤Ã¤Æ¤ª¤ê¤Þ¤»¤ó¡¨¡¨
¡ÖHSPµ­½Ò¡×¤Ï¡¢HSP¤Çµ­½Ò¤¹¤ë¥È¥³¤Ï¥¹¥¯¥ê¥×¥È¤·¤«
¤¢¤ê¤Þ¤»¤ó¤è¤Í¡©
¤Ê¤Î¤Ç¥¹¥¯¥ê¥×¥È¤Î¤³¤È¤Ç¤¹¡£

¡Öline 3 [list2.hsp]¤Î¥¨¥é¡¼¤Ë¤Ä¤¤¤Æ
listboxÀßÃÖµ­½Ò£È£Ó£Ð¥Ú¡¼¥¸¤Î¤¹¤Ù¤Æ¤Îline 3¤Ë¤Ï
#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)¤¬¡¢
µ­½Ò¤µ¤ì¤Æ¤¤¤Æ¡¢
ºÇ½é¤Ë#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
¤òµ­½Ò¤·¤¿¥Ú¡¼¥¸¤Ï¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¤Î¤Ç
»×¤¤Åö¤¿¤ë¤³¤È¤È¤¤¤¨¤Ð
#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
¤¬¡¢19²ó½ÅÊ£µ­½Ò¤·¤Æ¤¤¤ë¤Î¤Ç2¹àÌܤá¤Î
#define ctype HIWORD(%1) (%1 >> 16 & $FFFF)
¤¬¡¢¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤·¤¿¡£

¤³¤Î20¹àÌÜʬ¤Îlistboxµ­½Ò¤Î½ÅÊ£Éôʬ¤ò
¤É¤¦¤¹¤ì¤Ð¥¨¥é¡¼¤¬½Ð¤º¤Ëɽ¼¨¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ë¤«¤¬
¤ï¤«¤ê¤Þ¤»¤ó¡£

ÀâÌÀ¤¬²¼¼ê¤Ç¥Û¥ó¥È¿½¤·Ìõ¤Ê¤¤¤Ç¤¹¡¨¡¨
²ò¤ê¤Å¤é¤¤¤È»×¤¤¤Þ¤¹¤¬¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡¨¡¨¡×

¤È¡¢¤¤¤¦¤Î¤¬¼ÁÌä¤Ê¤Î¤Ç¡£¡£¡£

listbox¤ÏÀßÃ֤Ǥ­¤Æ¤ë¤ó¤Ç¤¹¤¬¡¢
¥¨¥é¡¼¤¬½Ð¤ë¡£¤¸¤ã¡¢¤É¤¦¤·¤¿¤é¥¨¥é¡¼¤¬½Ð¤Ê¤¯¤Ê¤ë¡©
»×¤¤Åö¤¿¤ëÀá¤È¤¤¤¨¤Ð¡¦¡¦¡¦
¤Ç¡¢½ÅÊ£¤¬¸¶°ø¤¸¤ã¤Ê¤¤¤«¤Ê¡£¡£
¤È¡¢»×¤Ã¤Æ¤½¤ì¤ò¤É¤¦¤·¤¿¤é¤è¤¤¤«Ê¹¤­¤¿¤«¤Ã¤¿¤ó¤Ç¤¹¡¨¡¨

¥Û¥ó¥È½ñ¤­Êý¤ï¤«¤é¤ó¤Þ¤Þ¤Ç¥«¥­¥³¤·¤Æ¤¹¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£
¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£

°Ê¸åµ¤¤ò¤Ä¤±¤Þ¤¹¡£
ËÜÅö¤Ë¤¹¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£



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