function:UBound ( Array )return type:Integercontent:ใช้คืนค่า ขอบเขตบน ของตัวแปรชนิด Arrayexample:Dim arr ( 10 ) As String count = UBound ( arr )