Microsoft® Visual Basic® Scripting Edition
Public ³¯­z¦¡
 µ{¦¡»y¨¥°Ñ¦Ò 
  | Version 2 

½Ð°Ñ¾\


»¡©ú
¦bScript ¼h¦¸¤¤¥Î¨Ó«Å§i¤½¥ÎÅܼơA¨Ã°t¸mÀx¦sªÅ¶¡¡C
»yªk
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¡A­Y­«·s«Å§i°}¦CÅܼƪººû¼Æ¡A«h·|µo¥Í¿ù»~¡C

ªì©l¤ÆÅܼƮɡA¼Æ­ÈÅܼƪì©l¬° 0¡A¥iÅܪø«×¦r¦êªì©l¬°¹sªø«×¦r¦ê¡]""¡^¡C