Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stack size limit for If/Then statements?
#17
Quote:@James - 
IF Lookahead$=CHR$(0) THEN G$="(output)": PUT #2 , , G$: G$=""
IF Lookahead$=CHR$(1) THEN G$="(output)": PUT #2 , , G$: G$=""
I am wondering why this is happening without a loop.


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
Reply


Messages In This Thread
RE: Stack size limit for If/Then statements? - by Kernelpanic - 01-30-2024, 10:04 PM



Users browsing this thread: 14 Guest(s)