Author Topic: Help me out. I need more variables  (Read 4308 times)

0 Members and 1 Guest are viewing this topic.

Offline waggyner

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 8
  • Rating: +0/-0
    • View Profile
Help me out. I need more variables
« on: June 15, 2014, 11:49:53 am »
I'm trying to make a game on the 84+ with axe parser but I'm coming close to running out of variables. Is there a way to get more variables than the 26 letters?
I have tried to store numbers as strings but  that doesn't seem to let me change the value once it is initially set.


If anyone knows a way to get more than 26 non static variables please tell me

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Help me out. I need more variables
« Reply #1 on: June 15, 2014, 11:50:40 am »
you can just use some random ram location like L1 if you don't use it.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Help me out. I need more variables
« Reply #2 on: June 15, 2014, 11:52:00 am »
I'm trying to make a game on the 84+ with axe parser but I'm coming close to running out of variables. Is there a way to get more variables than the 26 letters?
I have tried to store numbers as strings but  that doesn't seem to let me change the value once it is initially set.


If anyone knows a way to get more than 26 non static variables please tell me
Last I recall, anything from letters to GDBs to pics (to lists, according to sorunome) can store anything in axe. It's just that they are usually used for other things.

Read the manual. It's helpful.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Help me out. I need more variables
« Reply #3 on: June 15, 2014, 11:53:17 am »
if you compile as an app the GDBs will be static.
If you run a shell that doesn't have flash back the GDBs won't be saved between exits

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Help me out. I need more variables
« Reply #4 on: June 15, 2014, 12:14:24 pm »
You can use free RAM parts that you then assign to a pointer. Runer112: could you explain a bit more? I'm not really into Axe anymore.
I'm not a nerd but I pretend:

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Help me out. I need more variables
« Reply #5 on: June 15, 2014, 12:15:03 pm »
i think you do it like
RAMAREA -> °BLAH

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!