That little optimization really does make a difference, thanks!
Coincidentally, that's actually the second time you've helped make my display routine faster. The first was by you creating the (awesome) FastBasic interpreter/compiler! ?
I had originally coded the game in TurboBasic XL, and while it was fully functional, the screen refresh was really slow. I had read about FastBasic and decided to give it a try, and was very impressed with the results! In addition to better speed, it's nice to have true string arrays, and FB seems to support a lot more abbreviations, making it easier to fit programs in 10 lines.
Also, thanks for the tip using ' for comments, I'm now a convert!
In a couple of days I'll be publishing an updated version of Wizard of Wasd with the screen improvement, and with the (earlier requested) turning off of the keyclick sound.
Thanks again,
Randy "AngryDill" Gill