vb 生手 无效内部过程?


vb 新手 无效内部过程???

  Private Sub Command1_Click()
    Type Address
        Street As String
        Phone As String
    End Type
    
    Dim MyHome As Address
    
    With MyHome
        .Street = "苏州"
        .Phone = "110"
    End With
    
    MsgBox MyHome.Phone
End Sub


VBScript .net 程序开发

werohi 12 years, 11 months ago

Type Address

    Street As String

    Phone As String

  End Type

写在过程的外面

cao1118 answered 12 years, 11 months ago

Your Answer