??? 05/21/07 10:15 Read: times |
#139581 - hard to beat... Responding to: ???'s previous message |
Well, this is hard to beat.
But as I said above, I see code memory the least pricey resource in today's '51, so if I would try to optimize it would be (I)RAM or execution time optimisation rather than code length. However, in this kind of stuff, I would rather seek additional functionality than optimising. See my "C-ish" example of line editor above - it implements displaying an already defined string on entry, cursor movement left and right and both DEL and BS; and all this having the buffer in external memory. I can hardly imagine any other next step than a full-screen editor... But that's certainly not a "weekend quiz" issue anymore... ;-) JW |