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


HSPTV!·Ç¼¨ÈÄ


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

2011
0521
R650ini¥Õ¥¡¥¤¥ë¤ÎÀ©¸æ10²ò·è


R650

¥ê¥ó¥¯

2011/5/21(Sat) 10:36:15|NO.39294

ini¥Õ¥¡¥¤¥ë¤òÀ©¸æ¡©¤¹¤ëÊýË¡¤ò¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©
¤ä¤ê¤¿¤¤¤³¤È¤Ï

­¡´û¤ËºîÀ®¤µ¤ì¤Æ¤¤¤ëini¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¡£

­¢HSP¤Î¥Æ¥­¥¹¥È¥Ü¥Ã¥¯¥¹¤Çini¥Õ¥¡¥¤¥ë¤Ëʸ»ú¤òÂǤÁ¹þ¤ßÊݸ¤¹¤ë¡£

­£HSP¤ÇÀè¤Û¤ÉÆþÎϤ·¤¿Ê¸»ú¤òÆɤ߹þ¤ß¡¢¥Æ¥­¥¹¥È¤òɽ¼¨¤µ¤»¤ë¡£¡ÊÎã¡Ë¡ÊÆþÎϤµ¤ì¤¿Ê¸»ú¤Ï***¤Ç¤¹¡£¡Ë

°Ê¾å¤Ç¤¹¡£
¤ª´ê¤¤¤·¤Þ¤¹¡£



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


ORZ

¥ê¥ó¥¯

2011/5/21(Sat) 10:38:13|NO.39295

ini¥Õ¥¡¥¤¥ë¤ÎÀ©¸æ¤Ç¤¹¤«¡©ÂçÊÑÆñ¤·¤¤µ»½Ñ¤Ç¤¹¡£¤Þ¤º¤ÏGoogle¤ÎÀ©¸æ¤ò³Ð¤¨¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤¹¡£



R650

¥ê¥ó¥¯

2011/5/21(Sat) 10:41:18|NO.39296

¤½¤¦¤Ç¤¹¤«¡£
Æñ¤·¤¯¤Æ¤â¤¤¤¤¤Î¤Ç¤ª¤·¤¨¤Æ¤¯¤À¤µ¤¤¡ª



f3d

¥ê¥ó¥¯

2011/5/21(Sat) 10:50:49|NO.39297

ini¤òÆɤ߹þ¤à¤Ë¤ÏWindows¤ÇÍÑ°Õ¤µ¤ì¤Æ¤¤¤ëÌ¿Îá¤òÍѤ¤¤ëÊýË¡¤È¡¢
¼«Á°¤ÇÆɤ߹þ¤àÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£
º£²ó¤Ï¸å¼Ô¤ÎÊýË¡¤òÅÁ¼ø¤·¤Þ¤¹¡£
>>­¡´û¤ËºîÀ®¤µ¤ì¤Æ¤¤¤ëini¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¡£

notesel note //¥Õ¥¡¥¤¥ë¤Î̵ͭ¤ò¥Á¥§¥Ã¥¯ exist "test.ini" if( strsize == -1 ){ dialog "¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Þ¤»¤ó¡£"1,"ERROR" end } //¤³¤³¤Ç¥í¡¼¥É noteload "test.ini",-1

­¢HSP¤Î¥Æ¥­¥¹¥È¥Ü¥Ã¥¯¥¹¤Çini¥Õ¥¡¥¤¥ë¤Ëʸ»ú¤òÂǤÁ¹þ¤ßÊݸ¤¹¤ë¡£

notesel note //ʸ»úÎóÊÑ¿ô¤Î³ÎÊÝ sdim string,4000 //¥á¥Ã¥»¡¼¥¸¥Ü¥Ã¥¯¥¹¤ÎºîÀ® mesbox string , 640 , 400 button gosub "Êݸ" , *save stop *save //ÆþÎϤµ¤ì¤¿Ê¸»úÎó¤ò¥Î¡¼¥ÈÊÑ¿ô¤ËÄɲà noteadd string , 0 , 1 //¥»¡¼¥Ö notesave "test.ini" return
­£HSP¤ÇÀè¤Û¤ÉÆþÎϤ·¤¿Ê¸»ú¤òÆɤ߹þ¤ß¡¢¥Æ¥­¥¹¥È¤òɽ¼¨¤µ¤»¤ë¡£¡ÊÎã¡Ë¡ÊÆþÎϤµ¤ì¤¿Ê¸»ú¤Ï***¤Ç¤¹¡£¡Ë

notesel note //¥Õ¥¡¥¤¥ë¤Î̵ͭ¤ò¥Á¥§¥Ã¥¯ exist "test.ini" if( strsize == -1 ){ dialog "¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Þ¤»¤ó¡£",1,"ERROR" end } //¤³¤³¤Ç¥í¡¼¥É noteload "test.ini",-1 mes "ÆþÎϤ·¤¿Ê¸»úÎó¤Ï¡Ö\n"+note+"\n¡×¤Ç¤¹¡£"

¤Á¤Ê¤ß¤Ëini¥Õ¥¡¥¤¥ë¤ÏÀßÄê¤Ê¤É¤òÆɤ߹þ¤ó¤À¤êÊݸ¤·¤¿¤ê¤¹¤ë¤Î¤Ë»È¤¦¤³¤È¤¬¡¢
¿¤¤¤Ç¤¹¡£



R650

¥ê¥ó¥¯

2011/5/21(Sat) 15:42:42|NO.39305

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª
¼«Ê¬¤Ç³«¤¯¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Æ³«¤¯ÊýË¡¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£


dialog "ini",16

¤³¤ì¤Çini¥Õ¥¡¥¤¥ë¤ò³«¤¤¤Æ¤½¤Îini¥Õ¥¡¥¤¥ë¤òf3b¤µ¤ó¤ÎÊýË¡¤Ç½ñ¤­´¹¤¨¤¿¤êÊݸ¤·¤¿¤ê¤¹¤ëÊýË¡¤ò
¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡ª



who¤µ¤ó

¥ê¥ó¥¯

2011/5/21(Sat) 15:49:34|NO.39308

>>R650¤µ¤ó
º£¤Ë¤Ê¤Ã¤Æ°­¤¤¤Ç¤¹¤±¤É¡¢¸Ä¿ÍŪ¤Ë¤Ï
GetPrivateProfileString´Ø¿ôÎà¤Î¤Û¤¦¤¬³Ú¤À¤È»×¤¤¤Þ¤¹¡£



f3d

¥ê¥ó¥¯

2011/5/21(Sat) 16:15:54|NO.39311

dialog¡¡¤ÇÆɤ߹þ¤ó¤À¥Õ¥¡¥¤¥ë¤Ï¡¢refstr¤Ëµ¢¤Ã¤Æ¤­¤Þ¤¹¡£

>>GetPrivateProfileString´Ø¿ôÎà¤Î¤Û¤¦¤¬³Ú¤À¤È»×¤¤¤Þ¤¹¡£
¤Ê¤ó¤Ç¤â¤«¤ó¤Ç¤âAPI¤ò¿Ê¤á¤ë¤Î¤Ï¤ª¤¹¤¹¤á¤Ç¤­¤Þ¤»¤ó¤Í¡£
Áê¼ê¤Ï½é¿´¼Ô¤ÎÊý¤Ç¤¹¤·¡£
API¤ò¿Ê¤á¤ë¤È¤¤¤¦¤³¤È¤Ï·ë¶É¤Ï¥½¡¼¥¹¤ò¥³¥Ô¥Ú¤µ¤»¤ë¤è¤¦¤Ê¤â¤ó¤Ç¤¹¤·¤Í¡£



who¤µ¤ó

¥ê¥ó¥¯

2011/5/21(Sat) 16:34:05|NO.39313

>>f3d¤µ¤ó
¤½¤¦¤Ç¤¹¤Í¡£¿Í¤ÎΩ¾ì¤ò¹Í¤¨¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£¤´¤á¤ó¤Ê¤µ¤¤¡£

¤ªÏͤӤ˥½¡¼¥¹¤ò¤Ï¤ê¤Ä¤±¤È¤­¤Þ¤¹¡£

sdim data,1000 pos 0,0 mesbox data,320,240,5,-1 button gosub "ini¤Î¥í¡¼¥É",*load button gosub "ini¤Î¥»¡¼¥Ö",*save stop *load dialog "ini",16,"¹½À®ÀßÄê¥Õ¥¡¥¤¥ë(?)" if stat = 0 { return }//¤ä¤Ã¤Ñ¤ä¤á¤¿ notesel data noteload refstr objprm 0,data return *save dialog "ini",17,"¹½À®ÀßÄê¥Õ¥¡¥¤¥ë(?)" if stat = 0 {return}//¤ä¤Ã¤Ñ¤ä¤á¤¿ path=refstr if getpath(path,2)!".ini" {path+=".ini"} notesel data notesave path return



¤Ò¤é¤Þ¤ë

¥ê¥ó¥¯

2011/5/21(Sat) 17:46:07|NO.39314

>f3d¤µ¤ó
³Î¤«¤ËÉáÄ̤ξì¹ç¤Ï¤½¤¦¤«¤â¤·¤ì¤Þ¤»¤ó¡£
»ä¤Î¾ì¹ç¤Ï¡¢¥Ä¡¼¥ë·Ï¤Î¥½¥Õ¥È¤òºî¤Ã¤Æ¤¤¤ë¤È¤­¤Ë¤¤¤í¤¤¤í¼ÁÌ䤵¤»¤Æ¤¤¤¿¤À¤­¡¢
£Á£Ð£É¤ò»È¤¦¤ÈÎɤ¤¤È¤¤¤¦²óÅú¤ò²¿ÅÙ¤«¤¤¤¿¤À¤¤¤Æ¤¤¤Þ¤·¤¿¡£
¤â¤é¤Ã¤¿¥½¡¼¥¹¤ò¥³¥Ô¥Ú¤·¤Æ»È¤Ã¤Æ¤¤¤ë¤¦¤Á¤Ë£Á£Ð£É¤È¤¤¤¦¤â¤Î¤¬¤É¤¦¤¤¤¦¤â¤Î¤«¤ï¤«¤Ã¤Æ¤­¤Æ¡¢
º£¤Ç¤Ï¤¢¤ëÄøÅÙ¥°¡¼¥°¥ë¤È£Í£Ó£Ä£Î¤ÇÄ´¤Ù¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¿·¤·¤¤²ÄǽÀ­¤ò³«È¯¤·¤Æ¤¢¤²¤ë¤Î¤âÂçÀڤʤ³¤È¤«¤â¤·¤ì¤Ê¤¤¤È»×¤¤¤Þ¤¹



R650

¥ê¥ó¥¯

2011/5/21(Sat) 18:08:46|NO.39316

³§¤µ¤ó¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¤ª¤«¤²¤Ç²ò·è¤·¤Þ¤·¤¿¡ª



GENKI

¥ê¥ó¥¯

2011/5/21(Sat) 18:42:05|NO.39318

HSP¤Ç¤ÎINI¥Õ¥¡¥¤¥ë¼è¤ê°·¤¤ÍѤΥ⥸¥å¡¼¥ë¤Ï²¿¿Í¤«¤ÎÊý¤¬ºîÀ®¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
Î㤨¤Ð°ì¤Ä¤¢¤²¤Æ¤ª¤­¤Þ¤¹¤Í¡£¤Û¤«¤Ë¤â¤¿¤¯¤µ¤ó¤¢¤ë¤Î¤Ç¸¡º÷¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
http://hspdev-wiki.net/?INI%A5%D5%A5%A1%A5%A4%A5%EB%C1%E0%BA%EE%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB

»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢¤¢¤é¤«¤¸¤áINI¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ë¤Ä¤¤¤Æ¤ÎÃ챤ò»ý¤Ã¤Æ¤ª¤¤¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£
http://ja.wikipedia.org/wiki/INI%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB


> Æñ¤·¤¯¤Æ¤â¤¤¤¤¤Î¤Ç¤ª¤·¤¨¤Æ¤¯¤À¤µ¤¤¡ª

http://www.google.co.jp/
¤ò³«¤¤¤Æ¡¢¡Öhsp ini¥â¥¸¥å¡¼¥ë¡×¤Ç¸¡º÷¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
½Ð¤Æ¤­¤¿¥µ¥¤¥È¤ò¾å¤«¤é½çÈ֤ˤ¤¤¯¤Ä¤«¸«¤Æ¤¤¤¯¤È¤ï¤«¤ë¤È»×¤¤¤Þ¤¹¡£



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