Public Class Form1
Dim a, s As Integer
Dim z As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For a = 65 To 90
z = z & Chr(a)
Next
z = z & vbNewLine
For s = 97 To 122
z = z & Chr(s)
Next
TextBox1.Text = z
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
End
End Sub
End Class
Z參數建議改用如Str1或myStr的參數名稱代替
回覆刪除jack