编程论坛's Archiver

lbyjin 发表于 2008-1-8 13:51

帮我解释一下

Dim a As Integer
        Dim b As String = "12345"
        Dim c As String = ""
        For a = 1 To 5
            c = c & b.Substring(0, a) & vbCrLf
        Next
        textbox1.Text = c

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.