[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help diagnosing an Apple IIe, please.



> >  I tried and tried to reset the thing, every
> > combination possible.  Eventually had to power it off and back on.
>
> Yep, that's normal if you didn't program a way to escape the GET loop.

Well I'm an old school C64 programmer, so let me ask you this.  How do
you write a program in BASIC that continues to loop and do stuff while
waiting for a keypress?  For example, I was trying to write a simple
drawing program for the low-res graphics mode and I wanted it to blink
the pixel it was currently sitting on when no keys were being
pressed.  How would I achieve this?  On the C64 we would use a command
like this:

10 GET A$: IF A$ = "" THEN GOTO 10

That would achieve the same thing as the GET statement alone achieves
on the Apple, but I could remove that GOTO 10, and put it at the end
of several other commands.. That way those commands would continue to
execute until something was pressed.