Sep 26, 2003 #1 B blueblot New member Joined Sep 25, 2003 Messages 1 how can I get this output x xx xxx xxxx xxxxx xxxxxx on my screen with for and next? thx blueblot
Sep 26, 2003 #2 AlexCode Well-known member Joined Jul 7, 2003 Messages 931 Location Portugal If you create a Console project use this code... [VB] Module Module1 Sub Main() CreateX() End Sub Private Sub CreateX() Dim S As String For i As Integer = 1 To 6 S &= "X" Console.WriteLine(S) Next Console.ReadLine() End Sub End Module [/VB]
If you create a Console project use this code... [VB] Module Module1 Sub Main() CreateX() End Sub Private Sub CreateX() Dim S As String For i As Integer = 1 To 6 S &= "X" Console.WriteLine(S) Next Console.ReadLine() End Sub End Module [/VB]