Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - soren121

Pages: [1]
1
TI-BASIC / Re: Detecting/controlling homescreen clears?
« on: September 10, 2011, 06:14:48 pm »
Ah, that sucks. Thanks!

2
TI-BASIC / Re: Detecting/controlling homescreen clears?
« on: September 10, 2011, 06:11:25 pm »
...such a simple solution. :o

I'd still like to know if it's possible, though.

3
TI-BASIC / Detecting/controlling homescreen clears?
« on: September 10, 2011, 05:45:45 pm »
So, I've written a joke program that imitates the homescreen, but outputs Fish for 2+2. This is it:

Code: [Select]
2→A
ClrHome
While 1
Input "",Str1
If Str1="2+2"
Then
Output(A,13,"FISH")
Disp ""
Else
Disp expr(Str1
End
If A<8
Then
A+2→A
End
End

It works perfectly, except for one critical bug: if you press CLEAR, the line counter for the word FISH isn't updated, and it will display it in the wrong place.

So my question is, is there a way to detect if the homescreen is cleared, or if I can control that? Or is there a better way to display FISH than Output()?

Thanks!

Pages: [1]