Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
How
This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
How
Author Message
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 02 Sep 2003 02:11:25 pm    Post subject:

trying to solve this problem,

4(2X-5)>2 (> is the power sign i will use)


how come this doesn't work?
[CODE]
ClrHome
0->A
0->B
0->C
0->D
For (A,1,2
0->A
4((2B-5)(2B-5)->C
If C=20
Then
Output(5,5,B
Output(6,6,C
Stop
End
B+1->B
End
[QUOTE]
Back to top
Ben Trettel


Member


Joined: 17 Jul 2003
Posts: 153

Posted: 02 Sep 2003 04:43:03 pm    Post subject:

Why don't you solve it the old fashioned way first?
4(2X-5)>2
8X-20>2
8X>22
X>22/8
X>11/4
X>2.75
Back to top
b__


Member


Joined: 16 Jun 2003
Posts: 173

Posted: 02 Sep 2003 07:28:11 pm    Post subject:

I didn't really look at what you were doing, but you need to take out the 0->A because A is needed for the For loop, but you keep setting it back to zero

Quote:
For (A,1,2
0->A ; delete this line
4((2B-5)(2B-5)->C
If C=20
Then
Output(5,5,B
Output(6,6,C
Stop
End
B+1->B
End
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 03 Sep 2003 06:59:42 pm    Post subject:

i want it to loop

alos it is >2, it to the 2nd power, read thw ( )
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 04 Sep 2003 08:45:59 am    Post subject:

Could you please translate 'alos' and 'thw ()' to, say.. English?
I suppose Dutch, German or French ought to do two.

shift+6, 2: ^2
right alt+2:
Back to top
Ben Trettel


Member


Joined: 17 Jul 2003
Posts: 153

Posted: 04 Sep 2003 02:20:09 pm    Post subject:

I think "alos" may be "also" typed wrong.
Back to top
Matt


Member


Joined: 11 Jun 2003
Posts: 169

Posted: 04 Sep 2003 04:01:48 pm    Post subject:

and when he said thrw () he was saying for you to read through ( to ) do you understand?
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 05 Sep 2003 07:50:40 am    Post subject:

Arg, I see.

Spelling people, spelling!
It never hurt anyone to spell properly or use proper grammar.
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 05 Sep 2003 01:14:54 pm    Post subject:

anyways....

if you want a never ending loop you can
Repeat 0
..
...
...
...
End

or

While 1
...
...
...
End

but if thats not what your going for, then, as b said, the 0->A in:

For(A,something,somthing
0->A ; at least optimize it to DelVar A
...
...
End

should be removed.
Back to top
Display posts from previous:   
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
How
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are GMT - 5 Hours

 

Advertisement