Lately, I have been storing stuff to strings. For example, for my Battleship game, it stores "CARRIER BATTLESHIPCRUISER SUBMARINE SPEEDBOAT " to Str1. But when I have Str1 disp on the homescreen, it only goes to "CARRIER BATTLESHIPCRUISER ". This isn't causing any problems, but any ideas on this anomaly and why it popped up?
Because Disp doesn't wrap? Try Output(1,1, and see if that doesn't help, or you need to use sub( and a loop to display each section of the string.
But the "CARRIER .... SER" goes past the edge of the homescreen. I can scroll to the end, but that is all it will go to.
Wait, ar you siplaying this in a program or on the homescreen you use for math equations? Because I am pretty sure that you can't scroll in a program...
On the homescreen.
Unicorn wrote:
Wait, ar you siplaying this in a program or on the homescreen you use for math equations? Because I am pretty sure that you can't scroll in a program...
You can. If you use the Pause command, you can scroll lists, matrices, and strings:
Code:
Pause "THIS IS A REALLY LONG STRING THAT GOES PAST THE EDGE OF THE SCREEN
Pause L1
Pause [A]
Pause Str1
Oh, I didn't know that. Razz
I didn't either. Thanks, Kerm!
  
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