Author Topic: Help? (Appvar stuff)  (Read 5139 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Help? (Appvar stuff)
« 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.
« Last Edit: September 30, 2010, 08:05:19 pm by Michael_Lee »
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Help? (Appvar stuff)
« Reply #1 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 ].
« Last Edit: September 30, 2010, 06:57:46 pm by Deep Thought »




Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Help? (Appvar stuff)
« Reply #2 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...
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Help? (Appvar stuff)
« Reply #3 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Help? (Appvar stuff)
« Reply #4 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
« Last Edit: September 30, 2010, 08:58:13 pm by DJ Omnimaga »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Help? (Appvar stuff)
« Reply #5 on: September 30, 2010, 10:13:28 pm »
dj: did you add and steal it  in the edit? i didn't notice it before.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Help? (Appvar stuff)
« Reply #6 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: