05-04-2023, 09:23 PM
Or maybe use Select Case?
Code: (Select All)
For i = 1 To 15
a$ = Str$(i)
Select EveryCase i
Case Is > 5
a$ = a$ + " " + Str$(i * 2)
Case Is > 10
a$ = a$ + " " + Str$(i * 3)
End Select
Print a$
Next i