Microsoft® Visual Basic® Scripting Edition Public ³¯z¦¡ |
µ{¦¡»y¨¥°Ñ¦Ò | Version 2 |
¦bScript ¼h¦¸¤¤¥Î¨Ó«Å§i¤½¥ÎÅܼơA¨Ã°t¸mÀx¦sªÅ¶¡¡C
Public varname[([subscripts])][, varname[([subscripts])]] . . .Public ³¯z¦¡ªº»yªk¨ã¦³¥H¤U´XÓ³¡¤À¡G
²Õ¦¨³¡¤À »¡©ú varname Åܼƪº¦WºÙ¡A¿í´`¼Ð·ÇÅܼƩR¦W³W®æ¡C subscripts °}¦CÅܼƪººû¼Æ¡A³Ì¦h¥i«Å§i¨ì 60 ºû¡C subscripts ¤Þ¼Æ¨Ï¥Î¤U¦C»yªk¡G upper [,upper] . . .
°}¦Cªº¤U¥Ã»·¬°¹s¡C
¨Ï¥Î Public ³¯z¦¡«Å§iªºÅܼơA¥i¥H¦b¾ãÓ±M®×¸Ì©Ò¦³ªº¼Ò²Õ©Îµ{§ÇùبϥΡC¨Ï¥Î¸Óª«¥óÅܼƤ§«e¡A¥²¶·¥H Set ³¯z¦¡¨Ó«ü©w¤@Ó¤w¦s¦bªºª«¥ó¡C°£«D¤w«ü©wª«¥ó¡A§_«h¤w«Å§iªºª«¥óÅܼÆȬ° Nothing¡C
±z¤]¥i¨Ï¥Î Public ³¯z¦¡¥[¤WªÅ¥Õ¬A¸¹¨Ó«Å§i°ÊºA°}¦C¡C«Å§i¤§«á¡A¦bµ{§ÇùبϥΠReDim ³¯z¦¡¨Ó©w¸q°}¦Cªººû¼Æ©M¤¸¯À¡CÅܼƪº¤j¤p¤w¥Ñ Private¡BPublic¡B©Î Dim ³¯z¦¡©Ò©ú½T«ü©w¡AY«·s«Å§i°}¦CÅܼƪººû¼Æ¡A«h·|µo¥Í¿ù»~¡C
ªì©l¤ÆÅܼƮɡA¼ÆÈÅܼƪì©l¬° 0¡A¥iÅܪø«×¦r¦êªì©l¬°¹sªø«×¦r¦ê¡]""¡^¡C