Micro$oft can do no wrong!!!!!!!!!!!! (Hey Drew, this CODE WILL WORK!)by PeteBut if they could, they wouldn't get that right, either. Good find Galleon. Workaround:
DECLARE SUB getkey () DIM SHARED code$(1000), display, over, k$, movedown
getkey ' this sub gets user input and outputs it correctly SUB getkey
CASE CHR$(0) + CHR$(77) ' USER ENTERS RIGHT IF over < 80 THEN over = over + 1 LOCATE movedown, over: PRINT "X" END IF
IF over > 9 THEN
LOCATE movedown, over: PRINT "X"
movedown = movedown - 1 PCOPY 0, 1: SCREEN 0, 0, 1, 1
END SELECT
SUB showcode ' JUST IGNORE, IDKK WHAT I WANT THIS TO DO, YET FOR A = display - 20 TO display IF A < 10 THEN LOCATE position, 1: PRINT A; " : " LOCATE position, 9: PRINT code$(A)
NEXT A
END SUB ------------------------------------------ Page flipping will refresh the screen. FOR/NEXT LOOPS for multiple printing, CLS, priniting to another screen area and coming back, etc. all fail BTW.
Pete
from IP address 70.177.5.114 |
| Response Title | Author and Date |
| loll! so i found an error in microsoft.. what are the odds? | drew on Mar 20 |
| *With Windows? I'd say about 100 to 1, your favor. | on Mar 21 |
| * Why not look for bugs in TeX? Knuth pays $327.68/bug | on Mar 21 |