SCROLLING HELP ANYONE
Forum » Programming Help / TI-83 Programming » SCROLLING HELP ANYONE
Started by: john masseyjohn massey
On: 1257421460|%e %b %Y, %H:%M %Z|agohover
Number of posts: 18
rss icon RSS: New posts
SCROLLING HELP ANYONE
john masseyjohn massey 1257421460|%e %b %Y, %H:%M %Z|agohover

I would like to have a scrolling program to use on the home screen.
My "musts" list is not very long.
1) Since this is going to be used by children it must be user friendly when used in the program. The child must be able to control the scrolling, somehow. It would "be nice" if the child could use the function keys at the top of the 84 to do this. Like "STOP" and "GO" buttons or "SLOWER" and "FASTER" buttons.
2) By whatever means it must not bifurcate text. We are having trouble with getting children to read let alone , deciphering a bifurcated word.
My "wants" list is long and is based on my limited capabilities.
1) I need to be able to load the application. If the available scrolling program does not have simple instructions, this old bird with limited memory, will need some hand holding☺
2) It would be nice if I could work in TI connect, check it out there and then install it there in the application. Doing all that in the calculator will not be fun but I can manage that.

john

unfold SCROLLING HELP ANYONE by john masseyjohn massey, 1257421460|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
Is StrangerIs Stranger 1257422356|%e %b %Y, %H:%M %Z|agohover

if your scrolling text, why not use strings?

:"your awsome text here->Str1
:for(A,1,Length(Str1)-16
:output(1,1,"Sub(Str1,A,16
:End
unfold Re: SCROLLING HELP ANYONE by Is StrangerIs Stranger, 1257422356|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
rhombus prhombus p 1257425364|%e %b %Y, %H:%M %Z|agohover

what exactly are in these list that your wanting to display?


Rhombus_Productions-3Blackn.png

i will be inactive until the winter holidays because of school — Rhombus p.

unfold Re: SCROLLING HELP ANYONE by rhombus prhombus p, 1257425364|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257431419|%e %b %Y, %H:%M %Z|agohover

For Is Stranger,

What happens when the screen fills up? How do I control speed?

For rhombus p,

I am using this program to teach basic math skills to 2nd graders. I want to give them a text message that explains what is happening. Example follows:

Hi there Today we are going to do some more math flash cards. Remember when your hand help super computer stops, that is your sign that it is waiting for you to do something, so you should press the enter key. The enter key is on the right hand side at the bottom of your super computer keyboard. You should remember that when you see the ? you need to decide on a value to solve the flash card problem. Then press the white keys and press enter. The super computer now waits for you to study the screen to see what has happened.

I believe the only way I am going to make this idea work is to repeat these instructions over and over and over.

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257431419|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
rhombus prhombus p 1257439481|%e %b %Y, %H:%M %Z|agohover

what stranger said will work. and you can add some getkeys and ifs and a rand to control the speed

:"Hi there Today we are going to do some more math flash cards. Remember when your hand help super computer stops, that is your sign that it is waiting for you to do something, so you should press the enter key. The enter key is on the right hand side at the bottom of your super computer keyboard. You should remember that when you see the ? you need to decide on a value to solve the flash card problem. Then press the white keys and press enter. The super computer now waits for you to study the screen to see what has happened.->Str1
:1->B
:for(A,1,Length(Str1)-16         //repeats untill the hole message scrolls accros the screen
:output(1,1,"Sub(Str1,A,16     //only displays 16 chars at a time. fills up first line
:getkey->K
:B+(K=24)-(K=26)->B    //changes delay when arrow is pressed
:rand(B                      //Delay
:End

or, if you

alternately, if you you want the text to only scroll when you push the arrow buttons (does not move unless button pressed so the kids havve time to read it), just us the text display function for Pause

:pause "Hi there Today we are going to do some more math flash cards. Remember when your hand help super computer stops, that is your sign that it is waiting for you to do something, so you should press the enter key. The enter key is on the right hand side at the bottom of your super computer keyboard. You should remember that when you see the ? you need to decide on a value to solve the flash card problem. Then press the white keys and press enter. The super computer now waits for you to study the screen to see what has happened.

Rhombus_Productions-3Blackn.png

i will be inactive until the winter holidays because of school — Rhombus p.

last edited on 1257458530|%e %b %Y, %H:%M %Z|agohover by rhombus p + show more
unfold Re: SCROLLING HELP ANYONE by rhombus prhombus p, 1257439481|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257451638|%e %b %Y, %H:%M %Z|agohover

I started out with the first code that you recommended, just to see if I liked and I could make it work.

Since I have a Mac with full edit capability, I can just cut and paste, nice. I had to make some changes since some words you used were intended for me to write in a program. Like For( and others. It is no big deal, I am accustomed to this. The one good thing about it is that if I take my time I can reproduce the designers intent without a problem. If you want to make sure that I did a good job, I can copy and paste it back in a later post, if requested. I am old, slow with little memory, so organization is my only salvation.

When I got down to the line near the bottom that starts with "B" the compiler does not like the = signs. This is unusual, since I have used the = sign from my Mac keyboard, previously. Thus I assume it is a logic error of some sort.

Regards

john

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257451638|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
rhombus prhombus p 1257458502|%e %b %Y, %H:%M %Z|agohover

i just noticed that the first "K" in that line is a lowercase, which causes problems on the calc, so try capitalizing it. im going to change it in the code above in a sec

EDIT: another problem i noticed is that if B goes below 0, it will cause a error. to fix this, replace this code

:B+(K=24)-(K=26)->B

with this
:B+(K=24)-((K=26)(K=1))->B

so the final code is

:"Hi there Today we are going to do some more math flash cards. Remember when your hand help super computer stops, that is your sign that it is waiting for you to do something, so you should press the enter key. The enter key is on the right hand side at the bottom of your super computer keyboard. You should remember that when you see the ? you need to decide on a value to solve the flash card problem. Then press the white keys and press enter. The super computer now waits for you to study the screen to see what has happened.->Str1
:1->B
:for(A,1,Length(Str1)-16         //repeats untill the hole message scrolls accros the screen
:output(1,1,"Sub(Str1,A,16     //only displays 16 chars at a time. fills up first line
:getkey->K
:B+(K=24)-(K=26)->B    //changes delay when arrow is pressed
:B+(B=1)->B
:rand(B                      //Delay
:End

Rhombus_Productions-3Blackn.png

i will be inactive until the winter holidays because of school — Rhombus p.

last edited on 1257459031|%e %b %Y, %H:%M %Z|agohover by rhombus p + show more
unfold Re: SCROLLING HELP ANYONE by rhombus prhombus p, 1257458502|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257461010|%e %b %Y, %H:%M %Z|agohover

I made your changes. The program runs but hangs up on the line that has Sub(Str2,a,16 in it. The processor is running because I can see those little things running in the upper right corner of the graph screen. I submit my code for your review.

"Hi there Today we are going to do some more math flash cards. Remember when your hand help super computer stops, that is your sign that it is waiting for you to do something, so you should press the enter key. The enter key is on the right hand side at the bottom of your super computer keyboard. You should remember that when you see the ? you need to decide on a value to solve the flash card problem. Then press the white keys and press enter. The super computer now waits for you to study the screen to see what has happened."→Str2
1→B
For(A,1,length(Str2)-16
Output(1,1,"sub(Str2,A,16
getKey→K
B+(K=24)-((K=26)(K=1))→B
rand(B
End

john

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257461010|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
rhombus prhombus p 1257474361|%e %b %Y, %H:%M %Z|agohover

hmm, odd, when i tested it it worked fine… when you say "hang" do you mean freeze completly, or just pauses for a sec?


Rhombus_Productions-3Blackn.png

i will be inactive until the winter holidays because of school — Rhombus p.

unfold Re: SCROLLING HELP ANYONE by rhombus prhombus p, 1257474361|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257506472|%e %b %Y, %H:%M %Z|agohover

By hang, I mean , that is all that you see on the Home screen. Not being a professional programmer like yourself, I hesitate to mention it, but I think the " mark is being interpreted as a text statement and not a command. What say you?

Just as an aside, I would like to know the history of the name of your website. That is, what significance in your life is associated with a Rhombus? :-)

john

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257506472|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
rhombus prhombus p 1257509974|%e %b %Y, %H:%M %Z|agohover

oh ya… duh, remove the " mark. the calc is thinking that it suppose to display literally
"sub(Str2,A,16" instead of running the code. that should work.

as for my name… look here ;)


Rhombus_Productions-3Blackn.png

i will be inactive until the winter holidays because of school — Rhombus p.

unfold Re: SCROLLING HELP ANYONE by rhombus prhombus p, 1257509974|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257510012|%e %b %Y, %H:%M %Z|agohover

I took out the " and it runs fine. :-)

I guess I has expected it to scroll down the page. I slowed down the scrolling by using the left arrow and some how a bit of the scrolled text ended up on the second line of the home screen. I think that I will go back and try the second recommendation which if I understand correctly will fill the home screen and then will have a pause statement and require an getkey 105 and then a clear home command.

I will keep both methods and discuss them with my collaborator at our next meeting.

john

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257510012|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257512159|%e %b %Y, %H:%M %Z|agohover

I enjoy to the point of laughter about Rhombus p.

I guess after studying both of your ideas I do not think that it will work. My problem is that I question the ability of the child to understand only part of a sentence which is on the screen. I think about two alternatives.

1) Scrolling down the page with speed control. If I understand what will happen is I will get bifurcated text. That would require me to go into the string and put spaces at the end of that line to move the next word down to the next line. Alternatively, perhaps you could figure out a way to use some sort of special character in the string to force a line feed & then I could move it around in the string to do the job.

2)Fill up the Home screen with text then stop the scrolling and wait for a 105. This would require the same editing of the string but it only has to be done once and then I can put it in any program I want.

What say you?

john

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257512159|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
rhombus prhombus p 1257530445|%e %b %Y, %H:%M %Z|agohover

okay… i get what your saying. ill post some code in a little bit…


Rhombus_Productions-3Blackn.png

i will be inactive until the winter holidays because of school — Rhombus p.

unfold Re: SCROLLING HELP ANYONE by rhombus prhombus p, 1257530445|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257546549|%e %b %Y, %H:%M %Z|agohover

Marveldodulis!!

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257546549|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257601752|%e %b %Y, %H:%M %Z|agohover

During the night I thought about scrolling. I decided that the best thing for me to do is make a small program which has the string in it and then separate it and then test it one line at a time, then put a pause when the screen is full. That way, the child can study the screen as long as she / he wants. If you think that you can automate this process, please advise.

john

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257601752|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
rhombus prhombus p 1257603165|%e %b %Y, %H:%M %Z|agohover

well i was thinking that you could fiill the screen with text, then the student presses on of the arrow buttons, it moves up or down on line. that way the can look as long as they need.


Rhombus_Productions-3Blackn.png

i will be inactive until the winter holidays because of school — Rhombus p.

unfold Re: SCROLLING HELP ANYONE by rhombus prhombus p, 1257603165|%e %b %Y, %H:%M %Z|agohover
Re: SCROLLING HELP ANYONE
john masseyjohn massey 1257613399|%e %b %Y, %H:%M %Z|agohover

I love it!

unfold Re: SCROLLING HELP ANYONE by john masseyjohn massey, 1257613399|%e %b %Y, %H:%M %Z|agohover
New post