µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
VB »P VB.Net
» ¶ÇÈ©I¥s(Call By Value)
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[µo°Ý]
¶ÇÈ©I¥s(Call By Value)
edchen70
µoµu®ø®§
¥[¬°¦n¤Í
edchen70
·í«eÂ÷½u
UID
21311
©«¤l
7
¥DÃD
4
ºëµØ
0
¿n¤À
11
ª÷¿ú
11
ÂI¦W
0
§@·~¨t²Î
winxp
³nÅ骩¥»
visual studio 2008
¾\ŪÅv
10
©Ê§O
¨k
¦b½u®É¶¡
1 ¤p®É
µù¥U®É¶¡
2015-6-26
³Ì«áµn¿ý
2015-11-11
¤p¾Ç¥Í
©«¤l
7
¥DÃD
4
ºëµØ
0
¿n¤À
11
ÂI¦W
0
§@·~¨t²Î
winxp
³nÅ骩¥»
visual studio 2008
¾\ŪÅv
10
©Ê§O
¨k
µù¥U®É¶¡
2015-6-26
³Ì«áµn¿ý
2015-11-11
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2015-7-10 18:48
|
¥u¬Ý¸Ó§@ªÌ
[µo°Ý]
¶ÇÈ©I¥s(Call By Value)
¤U¦C¬O¥Îcall By Valueªºµ{¦¡½X¡AÅã¥Üªº¼ÆȬO10¡A§Ú·Q½Ð°Ý¤@¤U¦U¦ì´N¬Oa¨S¦³«Å§i,¨ºa¬Oxªº½Æ»sȶܡHsub¨ºÃ䤣¤Ó¤F¸Ñ¡H§Æ±æ¦³¥ý¶i¸ÑÄÀ¤@¤U
Module Module1
Sub Main()
Dim x As Integer = 10
Call Square(x)
Console.WriteLine(x)
Console.ReadKey()
End Sub
Sub Square(ByVal a As Integer)
a = a ^ 2
End Sub
End Module
¼Ó¥D¼ö©«
vb.net¥D±±¥xÀ³¥Îªºselect case
¿é¥X¸ê®Æ´«¦æ
[vb 2010]§PÂ_DateTimePicker®É¶¡
¦¬ÂÃ
¤À¨É
Min
µoµu®ø®§
¥[¬°¦n¤Í
Min
(¶{)
·í«eÂ÷½u
UID
8
©«¤l
172
¥DÃD
39
ºëµØ
20
¿n¤À
177
ª÷¿ú
177
ÂI¦W
0
§@·~¨t²Î
Microsoft Windows XP
³nÅ骩¥»
Microsoft Office 2003
¾\ŪÅv
100
©Ê§O
¨k
¨Ó¦Û
°ª¶¯
¦b½u®É¶¡
573 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2023-3-19
¡@¼ÊºÙ:
¶{
ª©¥D
©«¤l
172
¥DÃD
39
ºëµØ
20
¿n¤À
177
ÂI¦W
0
§@·~¨t²Î
Microsoft Windows XP
³nÅ骩¥»
Microsoft Office 2003
¾\ŪÅv
100
©Ê§O
¨k
¨Ó¦Û
°ª¶¯
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2023-3-19
2
#
µoªí©ó 2015-7-25 00:12
|
¥u¬Ý¸Ó§@ªÌ
ÅܼÆa ¬O¦³«Å§i³á!
Sub Square(ByVal a As Integer) '«Å§iaÅܼƬ°¼ÆÈ¡AByVal «h¬OµL¦^¶ÇÈ¡C
ex1
Sub Main()
Dim x As Integer = 10
Call Square(x)
msgbox.show(x)'ÁÙ¬O10
End Sub
Sub Square(
ByVal
a As Integer)
a = a +a
End Sub
ex2
Sub Main()
Dim x As Integer = 10
Call Square(x)
msgbox.show(x)'¦^¶ÇSquare¹Bºâ¹LªºÈ¡Aµ¥©ó20¡C
End Sub
Sub Square(
Byref
a As Integer)
a = a +a
End Sub
Y¬O§Ú¦^µª¡A¨Ï±zº¡·N¡A½Ð±zÅý§Úª¾¹D¡I
Y¬O§Úªº¦^ÂСA±z¤´¦³¨ä¥L¨£¸Ñ¡A¤]½Ð±z¤£¶Þ«ü±Ð¡I
TOP
ÀR«ä¦Û¦b :
¯à·F¤£·F¡A¤£¦pW·F¹ê·F¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·