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
United-TI Archives -> TI-Basic
 
    » Goto page Previous  1, 2, 3  Next
» View previous topic :: View next topic  
Author Message
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 24 Jun 2003 11:33:16 am    Post subject:

no u cant do this : {P,Z,M,Q->LHM(1
but u CAN do this : {P,Z,M,Q->LHM

does that help any?
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 24 Jun 2003 01:04:24 pm    Post subject:

Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad
can i reverse it?

but thanks
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 24 Jun 2003 02:30:36 pm    Post subject:

reverse it?

{P,D,W,F,Z->LHM
is legal, but this
{P,D,W,F,Z->LHM(1
is not
P->LHM(1
is legal too

is that better?
oh, u mean like this?
LHM->{P,D,W,F,Z
no u cant do that...
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 24 Jun 2003 02:57:56 pm    Post subject:

Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad

i can't do this:
Quote:
If LHM(X=0:Then

it say there is an invalid dim when i:

200->LHM(x
(othere stuff)
If LHM(X>=150
Then
(stuff
End
If LHM(X>=100 and LHM<=150
Stuff
End

Edit: opps i just thought i should be:
If LHM(X>=100) and LHM(X<=150

never mind

and other ideas for the game?


Edit:
Quote:
If LHM(X=0:Then

is wrong, and that confused me for the last like 12 hrs. it should be:
If LHM(X)=0:Then
The ) makes a huge differance and without it there was a invalid dim error
FYI: If LHM(X)>=100 and LHM(X)<=150 is the right way

and thanks b/c i have redone the harvest game but am yet to have finished all nine plots (one is done) i hope i can finish it tomarrow


Last edited by Guest on 25 Jun 2003 12:01:52 am; edited 1 time in total
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 25 Jun 2003 02:56:36 pm    Post subject:

Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad
Hey i'm looking for a group of ppl who would like to help make this, i have a long list of things to add to my game

Also Arcane Wizard or Adm.Wiggin could you e-mail me so i can send you my prgm so you can check it to find a faster way to make it run??? send an e-mail to Watchfordanomes@att.net or you don't have to but i would like if you could
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 25 Jun 2003 03:27:36 pm    Post subject:

Hmm, every time I send HARVEST1.8xp or HARVESTM.8xp to VTi it almost crashes windows and VTi stops responding. :|

MAP.8xp can be send fine though.

EDIT:
Ok, MAP.8xp doesn't work either, half the program consists of gibberish (wierd symbols and stuff).


Last edited by Guest on 25 Jun 2003 03:33:13 pm; edited 1 time in total
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 25 Jun 2003 04:36:33 pm    Post subject:

Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad
Opps. i have no idea what that is i will send the code to you and i don't know what went wrong and y it was crashing but sry for that.

Any ideas any one???
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 25 Jun 2003 04:56:44 pm    Post subject:

my e-mail should be in my profile... if it isn't, then it is my MSN contact name as well... (look it up)

if u STILL cant find it, then tell me...
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 26 Jun 2003 12:35:33 pm    Post subject:

The new files you send me don't work either (or it just takes really really really long to send it to vti)
So I'd like to know if the following symbols represent what's after the = sign so I can convert the code to something readable.

ü = ->
á = L
Á = ø
ù = ??? //I simply don't know this one, could be != but then I don't know what % stands for
% = !=
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 26 Jun 2003 01:24:33 pm    Post subject:

you have the vesion of ti (1.15) on???

i resent it, a more pretty version

try that one it is in a group
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 26 Jun 2003 02:04:46 pm    Post subject:

u can change this :
Code:
If LHM(X)=0:Then
to
Code:
If not(LHM(X:Then


does that optomize any? yes! it changes 3 chars, to 1! ( hint : )=0 to not( )

not( is still one char, cause it is what is called a token, like 'Then' is a token...
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 26 Jun 2003 03:11:23 pm    Post subject:

does that make it any faster???

which is faster:

#1) If X=1111
Then
Code
End

#2) If X=1
Then
Code
End
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 26 Jun 2003 03:39:34 pm    Post subject:

Look, all you have to tell me is which symbols represent which operators and I'll check your code, sending me more TI83 files isn't going to help since I can't send them to VTI. If I know how to convert all those annoying symbols like ü that are all over your code (because you copied it straight form ti-connect) I can just run the replace function of word a couple of times so I can actually read your code.
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 26 Jun 2003 04:25:28 pm    Post subject:

ü is -> Store

= is equals
ø is not equal
> is greater than
ù is greater tahn equal
< is less than
÷ is less than equal
á is the list lower case L thingy
Á is the thetatheata the O with a strike through it

i can't find % any where

check for a updated version code in e-mail

also i send the new ones b/c how can other ppl run it if you can't?
just a thought


Also if any one wants a copy i will post it on the net soon.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 26 Jun 2003 05:34:28 pm    Post subject:

I don't know why my VTI keeps crashing when I send file to it and I no longer care really, if I want to use a calculator I'll use a real one which I can use better anyway (typing, using menu's etc.)

Anyway, I've send an optimized version to you of which I'll post some snippets with often occuring errors and some nice examples of optimising, so others will benefit from it too.
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 26 Jun 2003 06:37:43 pm    Post subject:

thanks so much

whats a memory error?


Last edited by Guest on 26 Jun 2003 06:39:52 pm; edited 1 time in total
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 26 Jun 2003 09:41:36 pm    Post subject:

ClrHome
ClrDraw
AxesOff
For(X,1,31,5
Text(0,X,sub("Harvest",int(X/5),1
25->Y:prgmTIME
End

does not work y? i get a domain error
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 26 Jun 2003 09:58:02 pm    Post subject:

are u going off the screen? at all?
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 26 Jun 2003 10:06:11 pm    Post subject:

doesn't even start the prgm just errors
If A=B
Then
(code)
1->X
End
If X:Goto 1

why would i do that in stead of
If A=B
Then
(code)
Goto 1
End

what is the differance??? is one faster


Last edited by Guest on 26 Jun 2003 10:20:51 pm; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 27 Jun 2003 03:00:18 am    Post subject:

JesusFreak wrote:
whats a memory error?

Memory errors are errors because too much memory is in use, I'll explain further down.

Quote:
ClrHome
ClrDraw
AxesOff
For(X,1,31,5
Text(0,X,sub("Harvest",int(X/5),1
25->Y:prgmTIME
End

does not work y? i get a domain error


Just change int(X/5) into Int(X/5)+1 I forgot that. It doesn't work because int(a number below 5/5) returns 0 and there is no 0-th character in "Harvest"

Quote:
If A=B
Then
(code)
1->X
End
If X:Goto 1

why would i do that in stead of
If A=B
Then
(code)
Goto 1
End

what is the differance??? is one faster


This comes back to the memory error. Each time you start a loop of somekind the calculator remembers that it's in a loop and there's an "end" coming. Then, when you jump out of the loop with "Goto 1" the calculator never get's to the end part below the goto 1 and thus keeps remembernig there should be an end coming. Now image the calculator running so many loops that are jumped out of it uses all memory to keep track of how many end's there should be coming, this is exactly what happends. I used 1->X so it would know it has to jump and neatly finish the loop before jumping to "lbl 1".

Quote:
doesn't even start the prgm just errors


It would help if you told us what kind of errors and where pressing goto takes you so we know what the problem is. It should work fine after you added +1 to int(X/5). I think Smile


Last edited by Guest on 27 Jun 2003 03:00:34 am; edited 1 time in total
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
    » Goto page Previous  1, 2, 3  Next
» View previous topic :: View next topic  
Page 2 of 3 » All times are UTC - 5 Hours

 

Advertisement