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

Dim©w¸q°ÝÃD

Dim©w¸q°ÝÃD

¥»©«³Ì«á¥Ñ basarasy ©ó 2010-12-15 21:59 ½s¿è

1. vba¥i¥H³o¨Ç©w¸q¶Ü?
dim i!  '©w¸qi¬°single«¬
dim i#  '©w¸qi¬°Double«¬
dim i@  '©w¸qi¬°Currence«¬
dim i$  '©w¸qi¬°String«¬
dim i%  '©w¸qi¬°Integer«¬
dim i&  '©w¸qi¬°Long«¬

2. ¥Îdim i% ©M dim i as Integer ¦³¨S¦³¤À§O?
3. ¥ÎLong ·|¤ñInteger ªº­pºâ³t«×§Ö¶Ü?
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

ÁÂÁ¤j¤j­Ìªº«ü¾É.
¦]¬°§Ú¥­®É¼gªºvba³£¥Î¤F«Ü¦h¦æ,ÁÙvbaªº¤@¤Ö³¡¥÷ºC §Ú·Q¬O¬Ý¤£¥X,¦ý¦³«Ü¦hªº¤@¤Ö³¡¥÷´N·|ºC¤F.

¬Ý¨£¤j¤j­Ìªºvba½X ¯uªº·Q¾Ç, ¦P¤@¥Îªkªºvba§Ú¥Î 10¦æ ,¤j¤j­Ì¥u¥Î2-3¦æ´N¼g¤F¥X¨Ó><
¦æ¼Æ¤Ó¦h¤]·|ºC><
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

long ¬O¤£¬O·|¤ñ integer§Ö,­n¬Ýcpu¦Ó©w
­Y¬O32¦ì¤¸ªºcpuÀ³¸Ó¬Olong¤ñ¤ñ¸û§Ö
­Y¬O16¦ì¤¸ªºcpu À³¸Ó¬Ointeger ¤ñ¸û§Ö
³o©Mcpuªº³B²z¤è¦¡¦³Ãö

TOP

¦^´_ 1# basarasy
¥H§Ú­Ó¤Hªº¸gÅç
«Å§i¦b¤pµ{¦¡ªº­pºâ³t«×¤W¡AÀ³¸Ó¨S¤°»ò®t§O~
­è´ú¸Õ§Ú¼gªº¤@¤ä­pºâ¦¡(Á~¸ê)
©Òªáªº®É¶¡¦p¤U
00:48:64....................00:49:24.....................00:48:89
Dim ss As Date...........Dim ss, CC, i , r, p........'Dim ss, CC, i , r, p
Dim CC As String
Dim i As Integer
Dim r As Integer
Dim p As Integer
(¬Û®t¤£¨ì1¬í....)
·Pı....¦n¹³¬O¦b´ú¸Õ§Ú«ö½X¿öªº¤ÏÀ³XD

TOP

¦^´_ 9# basarasy
¨þ¨þ ³o­Ó^^

¥u­n¹ïÅܼưµ¥¿½Tªº©w¸q
§Ú·Q¹ïµ{¦¡ªº³t«×³£¬O¦³À°§Uªº

TOP

¦^´_ 9# basarasy

°ò¥»¤W§A³o­Ó±Ô­z¬O¤@¼Ò¤@¼Ëªº
¨S¦³§ÖºC¤§¤À
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 8# oobird

    Worksheets("Sheet1").Range("A1").Value = "100"  ·|¤ñ Range("A1").Value = "100"  §Ö?
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

§Ú¦Û¤v·|ı±o Integer¤ñ Long  ªº­pºâ³t«×§Ö(Åܼƽd³ò¦bInteger¤º)
,Integer¥Î(2 ­Ó¦ì¤¸²Õ)  Long  ¥Î (4 ­Ó¦ì¤¸²Õ).
¼Æ¦Ê¸U¤À¤§¤@¬íªº®t¶Z¥i¥H¤£¥²¥h­p¸û¡C½Ö§Ö½ÖºC´¿¦³¤H´ú¸ÕLong·|§Ö¨Ç¡A¤£¹L¥u­nÃþ«¬¥¿½T·Pı¤£¨ì®t²§ªº¡C
¦³¤°»ò¤èªk¥i¥H¥[§Ö­pºâ³t«×?
¥¿½Tªº¤èªk´N¬O³Ì§Öªº¤èªk¡C
¬O§_¶V¤Övba½X´N·|§Ö?
¥¿¦n¬Û¤Ï¡I

TOP

ÁÂÁ¤j¤j­Ìªº«ü¾É.
§Ú¦Û¤v·|ı±o Integer¤ñ Long  ªº­pºâ³t«×§Ö(Åܼƽd³ò¦bInteger¤º)
,Integer¥Î(2 ­Ó¦ì¤¸²Õ)  Long  ¥Î (4 ­Ó¦ì¤¸²Õ).

ÁÙ¦³vbaªº­pºâ³t«×°ÝÃD.(§Úª¾¹D³o­Ó°ÝÃD¬O­nªø®É¶¡¾Ç²ßªº)
¦³¤°»ò¤èªk¥i¥H¥[§Ö­pºâ³t«×?
¬O§_¶V¤Övba½X´N·|§Ö?
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

1. ·íµM¥i¥H! ¦]¬°®v¥X¦Pªù^^"
2. ¥Îdim i% ©M dim i as Integer ¦³¨S¦³¤À§O? ¤@­Ó¬O²¼g,¤@­Ó¬O§¹¾ã¼gªk~ ¨Ï¥Î¤WµL¥ô¦ó®t²§!
3. ¥ÎLong ·|¤ñInteger ªº­pºâ³t«×§Ö¶Ü? ¦pªG³£¬O­n¥L­Ì¼Æ1~10,¨º³t«×¬O¤@¼Ëªº! ¥L­Ìªº®t²§¬O¦b©ó«¬ºA,¤£¬O³t«×~
­Y¬O§Ú¦^µª¡A¨Ï±zº¡·N¡A½Ð±zÅý§Úª¾¹D¡I                  
­Y¬O§Úªº¦^ÂСA±z¤´¦³¨ä¥L¨£¸Ñ¡A¤]½Ð±z¤£¶Þ«ü±Ð¡I

TOP

        ÀR«ä¦Û¦b : °ß¨ä´L­«¦Û¤vªº¤H¡A¤~§ó«i©óÁY¤p¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD