Calculator Community > The Axe Parser Project

Need help. Programs with more than one line always return a TIOS Invalid dim err

(1/3) > >>

Broseph Radson:
Whenever i compile an axe program with more than one line of code (besides the name), when i run it, TIOS returns an invalid dimension error. Im doing everything right, but if theres more than one line of code, it doesnt work. It compiles fine, but it gets an error. ???

I have no extra libraries installed, im compiling it for no shell and running in from the homescreen using Asm(

This is my first time actually using axe since i havent been able to get the commands page until just now (Printer failure).

Im also using version 0.4.1 since ti connect is garbage and wont connect to my calc anymore unless its on my Grandma's laptop.

All im trying to do ATM is make a simple program that displays a key code when pressed.

Im assuming that this code *should* work:

--- Code: ---.KEY
Repeat Ans
getkey(0)
If Ans
Disp Ans>Dec
Disp i     //imaginary
End
End

--- End code ---

Or something of that nature.

EDIT: Im not very experienced with the language as you can probably tell.

SirCmpwn:
Don't use Ans, it's not what you think.  Axe will never store to Ans if you don't use →Ans.
Here is my keypress program:

--- Code: ---.KEY
Repeat getKey→K=/=15  // =/= is not equal to, and you just have to remember that Clear is 15
If K
ClrHome
Disp K>Dec
End
End
--- End code ---

Broseph Radson:
Oh ok so Ans was causing that. Thanks :D

I should be going to my grandparents' house this thursday so ill get the current version on my calc.

LordConiupiter:
or maybe you should just install TiLP :P

Happybobjr:
Tilp????? what's that?!
it sounds great (aka. not ti-connect)
do you have to install drivers to the computer to use it?  If not, i could use it at school!.

plz give a link :D :D :D

Navigation

[0] Message Index

[#] Next page

Go to full version