Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Michael_Lee on September 30, 2010, 05:38:47 pm

Title: Help? (Appvar stuff)
Post by: Michael_Lee on September 30, 2010, 05:38:47 pm
Help?  I've been trying to run this:

Spoiler For Spoiler:
Code: [Select]
.AA

"appvMINES2DE"->Str3
"appvMINESAVE"->Str4
GetCalc(Str3,Y1)->Z

If Z
    UnArchive Str3
End

GetCalc(Str3)->Z

!If Z
    GetCalc(Str3,55)->Z
    0->{Z+2}->{Z+11}+1->{Z}->{Z+1}
    9->{Z+5}[radians]->{Z+7}[sup]r[/sup]+1->{Z+9}[sup]r[/sup]
    For(N,0,20)
        999->{N*2+12+Z}[sup]r[/sup]
    End
    For(N,0,4)
        0->{N*10+18+Z}[sup]r[/sup]->{N*10+20+Z}[sup]r[/sup]
    End
    !If Z
        Goto END
    End
End

For(N,0,2)
    If {Z+N}>1
        N=0->{Z+N}
    End
End
{Z+5}[sup]r[/sup]->A
{Z+7}[sup]r[/sup]->B
{Z+9}[sup]r[/sup]->C
A+1*(B+1)->N
If N>710 or (C>N)
    9->A->B->{Z+5}[sup]r[/sup]->{Z+7}[sup]r[/sup]
    10->C->{Z+9}[sup]r[/sup]
    0->{Z+11}
End

GetCalc(Str4)->N
!If {Z+4}
    If N
        1->{Z+4}
    End
End
Return

Lbl END
Return

But whenever the appvars I want to make don't exist, the code creates the appvar, and fills it with the data it needs to, but does a bug:  it's the one where it creates a large parabolic variable, and if you try to delete it or do parabolic graphic, you get a RAM crash.

Anybody know what I'm doing wrong?

I really don't know what's wrong.


Edit: nvm - I asked for help prematurely.  Problem solved.
Title: Re: Help? (Appvar stuff)
Post by: Deep Toaster on September 30, 2010, 06:57:00 pm
Please, please don't put code tags in spoilers. It ends up a tiny, tiny 1-line box for me and everyone else who uses Chrome.

EDIT: You can use [ tt ] instead of [ code ].
Title: Re: Help? (Appvar stuff)
Post by: Michael_Lee on September 30, 2010, 08:04:14 pm
Ah - okay.  Won't do that.

Also, problem fixed, so no need to respond.  That's what I get for succumbing and posting prematurely...
Title: Re: Help? (Appvar stuff)
Post by: jnesselr on September 30, 2010, 08:50:13 pm
May I suggest, for other users who might have the same problem, posting what you did to fix it, and showing the code differences.  Thank you.
Title: Re: Help? (Appvar stuff)
Post by: DJ Omnimaga on September 30, 2010, 08:57:18 pm
I agree with graph. It might be nice to know how did you fix your code and steal it ;D
Title: Re: Help? (Appvar stuff)
Post by: Happybobjr on September 30, 2010, 10:13:28 pm
dj: did you add and steal it  in the edit? i didn't notice it before.
Title: Re: Help? (Appvar stuff)
Post by: DJ Omnimaga on September 30, 2010, 10:14:31 pm
Yeah I did, it was meant to be a joke I wanted to add but now you revealed it D: