05-18-2024, 03:48 PM
@Dimster, there were too many grammatical errors in it, so the IDE had problems.
It's now grammatically correct, but the output is confused.
It's now grammatically correct, but the output is confused.
Code: (Select All)
For x = 1 To 5
If x + 1 = 3 Then
Print "Still within the x loop"
Print "Loop is 1 to 5, loop variable x presently is "; x + 1
For m = x + 1 To x + 4
If x + 1 = 5 Then
Print "At the end of the x loop"
Print "The next x value will be 6 so none of this will be printer"
For y = 1 To 3
Print "Value of y is now "; y
Next
For z = 1 To 4
Print "Value of z is now "; z
Next
End If
Next
End If
Next