01-30-2024, 10:04 PM
Quote:@James -I am wondering why this is happening without a loop.
IF Lookahead$=CHR$(0) THEN G$="(output)": PUT #2 , , G$: G$=""
IF Lookahead$=CHR$(1) THEN G$="(output)": PUT #2 , , G$: G$=""
Just a small example with a loop - but of course I do not know how the whole program is structured.
Code: (Select All)
Option _Explicit
Dim As Integer zaehler
Dim As String lookahead
For zaehler = 65 To 84
lookahead = Chr$(zaehler)
Print lookahead
Next
End