Author Topic: Simplified Text Engine?  (Read 2079 times)

0 Members and 1 Guest are viewing this topic.

Offline 123outerme

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 458
  • Rating: +23/-0
  • Self-unpaid intern
    • View Profile
Simplified Text Engine?
« 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
« Last Edit: August 04, 2014, 06:06:35 pm by 123outerme »

Offline 123outerme

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 458
  • Rating: +23/-0
  • Self-unpaid intern
    • View Profile
Re: Simplified Text Engine?
« Reply #1 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Simplified Text Engine?
« Reply #2 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.