ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

Dim©w¸q°ÝÃD

¦^´_ 4# basarasy


¥Îdim i% ©M dim i as Integer ¦³¨S¦³¤À§O?    ¨â­Ó±Ô­z¬O¤@¼Ëªº
¥ÎLong ·|¤ñInteger ªº­pºâ³t«×§Ö¶Ü?(¼g¶}vbªº¤H»¡ªº)   
¸ê®Æ«¬ºA¬O¬°¤F½T©w«¬ºA¦Ó«Å§i¡A«D¦]«¬ºA¤£¦P¦Ó¦³°õ¦æ³t«×¤§®t¡A
¦³«Å§i·|¤ñ¨S«Å§i§Ö¡A¦ý¤£¦P«¬ºA·|²£¥Í¤£¦P¼Æ­È½d³ò
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 3# GBKEE

sorry.¥´¿ù¤F><.
2. ¥Îdim i% ©M dim i as Integer ¦³¨S¦³¤À§O?
3. ¥ÎLong ·|¤ñInteger ªº­pºâ³t«×§Ö¶Ü?(¼g¶}vbªº¤H»¡ªº)
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-12-15 20:34 ½s¿è

¦^´_ 1# basarasy
3. ¥ÎLong ·|¤ñString ªº­pºâ³t«×§Ö¶Ü????
VBA ªº»¡©ú
Integer ÅܼƫY¥H½d³ò¬° -32,768 ¨ì 32,767 ¤§ 16 ¦ì¤¸ (2 ­Ó¦ì¤¸²Õ) ¼Æ¦rªº§Î¦¡Àx¦s¡CInteger ªº«¬ºA«Å§i¦r¤¸¬O¦Ê¤À¤ñ²Å¸¹(%)¡C
String¤§¦r¤¸½Xªº½d³ò±q 0 ¨ì 255¡C¦r¤¸¶°ªº«e 128 ­Ó¦r¤¸ ( 0 ¨ì 127 ) ¹ïÀ³©ó¼Ð·Çªº U.S Áä½L¤Wªº¦r¤¸»P²Å¸¹¡C³o«e 128 ¦r¤¸»P ASCII ¦r¤¸¶°¤¤©Ò©w¸qªº¬Û¦P¡C«á 128 ¦r¤¸ (128 ¨ì 255) «h¥Nªí¯S®í¦r¤¸¡A¨Ò¦p°ê»Ú¦r¤¸¡A­«­µ²Å¸¹¡A³f¹ô²Å¸¹¤Î¤À¼Æ¡CString ªº«¬ºA«Å§i¦r¤¸¬° ($)¡C
Long (ªø¾ã¼Æ)ÅܼƫY¥H½d³ò±q -2,147,483,648 ¨ì 2,147,483,647 ¤§ 32 ¦ì¤¸ (4 ­Ó¦ì¤¸²Õ) ¦³¸¹¼Æ¦r§Î¦¡Àx¦s¡CLong ªº«¬ºA«Å§i¦r¤¸¬° (&)¡C

TOP

²Ä¤@­Ó°ÝÃD:¥i¥H
¨ä¾l°ÝÃD«Ýª©¥D¸Ñµª§a
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : «Î¼e¤£¦p¤ß¼e¡C
ªð¦^¦Cªí ¤W¤@¥DÃD