Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: 123outerme on August 04, 2014, 03:15:13 pm

Title: Simplified Text Engine?
Post by: 123outerme on August 04, 2014, 03:15:13 pm
I was working on a to-do list project I had planned, and working on creating a text engine for it. I may have simplified JWinslow's engine (the only one I know of, and can get my hands on) to a very small program. The program uses L1 to display the letter. To display your own text, simply input a number corresponding to a letter (A being 1, Z being 26, etc).

When you have text that's longer than the screen, it will wrap. There's one downside, and that is that you can't have any number in L1 be larger than 26.
Here's a working prototype. There is no program protection, so you have to make sure the numbers are within the parameters.

Edit 6:05 PM Server Time: Updated program
Title: Re: Simplified Text Engine?
Post by: 123outerme on August 04, 2014, 06:09:58 pm
I optimized the text engine to be even more practical. Now, you set as many numbers as you like to L1. All numbers have to be between 1 and 26. The numbers translate to letters like this: 1 is A, 2 is B, 3 is C... and 26 is Z. Punctuation, spaces, lowercase letters, and special characters are not supported as of yet.
Title: Re: Simplified Text Engine?
Post by: DJ Omnimaga on August 07, 2014, 04:59:47 pm
Interesting, although using a list instead of actual text might make it very tedious to type in long sentences, plus it might take a lot of memory when storing large strings as list.