So, I am making a program which I had basically finished a few days ago. I don't need to go into all of the details of the program, but it deals with possibly lengthy strings. But, upon looking back on the program, I realized that my process for Outputting the computed strings at the very end of the program displays the words badly, splitting the words between lines, and not supporting more than 260 characters (One full screen on my TI-84 Plus CE) of viewing at one time.
I want to see if anyone has already developed some code for displaying lengthy strings of words, that outputs them in a way that doesn't split words across a line, so that every word is whole.
The strings that I am dealing with are strings of words with A-Z characters, separated by spaces, ending with a period (.). My vision for the final code would be to display the words in one window, with a pause at the end, and if it is more than 260 characters, to separate the separate screens with a Pause. I have some ideas on how to do parts of this, but not enough.
If anyone has any ideas on how to do this efficiently and effectively, I would be very grateful.
Thank you to anyone who can help!
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement