0 Members and 5 Guests are viewing this topic.
In other news, Frey continues kicking unprecedented levels of ass.
Second, could static pointers and constants not require the first token to be a GDB, Pic, or Str token? I see this as being most easily implemented by allowing define references to be prefixed with an easily accessible token like π, which would dictate that what follows is a define and not a variable. Some sample code of old and new static pointers coexisting:Code: [Select]"appvTILEMAP"→πAPV"Not enough RAM!"→Str0E!If GetCalc(πAPV,4096)→M Disp Str0E getKeyʳ ReturnEnd
"appvTILEMAP"→πAPV"Not enough RAM!"→Str0E!If GetCalc(πAPV,4096)→M Disp Str0E getKeyʳ ReturnEnd
Would it be possible to chain variable declarations, like:L1->oMyVar1+2->oMyVar2+1->oMyVar3Would make it a lot easier to change the size of a variable or add/remove variables during development.
I guess the only side effect is that you can't run the Axe app when your batteries are low, but that's no big deal. I'll try to get this done by next release. Looks like label/variable names will be up to 7 characters long now and will allow ~2000 variables + labels per program (up from 3 characters and 150 of each right now). This would also allow me to put all data after subroutines and allow forward declaration of ANY static pointer/constant. It'll be quite an epic release indeed if I get this working. Not to mention tons of optimizations I've already made that will affect nearly every program.Get excited.
Quote from: calc84maniac on June 09, 2011, 06:20:15 pmWould it be possible to chain variable declarations, like:L1->oMyVar1+2->oMyVar2+1->oMyVar3Would make it a lot easier to change the size of a variable or add/remove variables during development.Ooo! That's a cool idea. You can definitely chain them line-to-line but I'll see if I can add it all on the same line.