I used banks, and processed the data directly using peek, peek$ and poke etc..
Quote:
Originally Posted by Nightshft
I have a problem with ReadFile and Inkey$ when the Debugger is running. It normally works fine, but with active debugger it says "No currently used object!"
Code:
if readFile(0,"filename")
fileInput 0
y=asc(inkey$) <- error
or
bla=cvq(inkey$(4)) <- same
closeFile 0
Seems like inkey$ sees no active fileInput although its defined one line before. Only when the debugger is running. Am I missing something, or is there a workaround?
(Blitzbasic 2.42. Without debugger this never happens. With debugger always.)
|