有一種特殊的語法可以創建變量
Dim VariableName As DataType
使用您的需求替換VariableName和DataType:
Dim FirstName As String
Dim LastName As String
Dim Age As Integer
Dim birthday as Date
您已經對這些變量使用了有意義的名稱
Dim strFirstName As String
Dim sLastName As String
Dim iAge As Integer
Dim dBirthday as Date
這裡的str或S作為String類型的前綴
ASP
From:http://tw.wingwit.com/Article/program/net/201311/14632.html