Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Munchor on November 18, 2010, 01:33:51 pm
-
Hey everyone, I'm working in a project for my class and friends, who which a program to display all the ions we need, so it's a chemistry program.
The code is in portuguese, but that's not very relevant for you, it's just ion names.
I got to a doubt now:
:[080808082A1C0800]->Pic1
:Output(0,0,"Ioes Positivos
:Text(0,15,"Aluminio
:Text(0,22,"Amonio
:Text(0,29,"Bario
:Text(0,36,"Calcio
:Text(0,43,"Chumbo
:Text(0,50,"Cobalto (II)
:Text(0,57,"Cobalto (III)
:Pt-Change(40,45,Pic1ยด
:DispGraph
This will display only the image, a down-arrow and not the text.
Can both be displayed at the same time?
Thanks in advance,
David
-
you need to do fix 5 -- that make text be drawn to the BUFFER rather than to the screen. Then, the text will be invisible till the next Dispgraph. When you execute that other dispgraph without fix 5 before the text(), it will erase the text from the screen
-
:Fix 5
:[080808082A1C0800]->Pic1
:Output(0,0,"Ioes Positivos
:Text(0,15,"Aluminio
:Text(0,22,"Amonio
:Text(0,29,"Bario
:Text(0,36,"Calcio
:Text(0,43,"Chumbo
:Text(0,50,"Cobalto (II)
:Text(0,57,"Cobalto (III)
:Pt-Change(40,45,Pic1
:DispGraph
The Output ("Ioes Positivos") is not showing up, I can't use Output when using Fix5 and DispGraph, right?
-
no, output puts that on the homescreen. I would suggest doing a Text() command for that too.
-
no, output puts that on the homescreen. I would suggest doing a Text() command for that too.
Yes, or an image, because I wanted the title to be BIG :s
-
Yes, or an image, because I wanted the title to be BIG :s
Fix 3 changes the font I believe
-
Yes, or an image, because I wanted the title to be BIG :s
Fix 3 changes the font I believe
Output font? Sorry, I don't understand your reply
-
Yes, or an image, because I wanted the title to be BIG :s
Fix 3 changes the font I believe
Output font? Sorry, I don't understand your reply
It makes the Text() command display homescreen font. Fix 2 should put it back again.
-
Yes, or an image, because I wanted the title to be BIG :s
Fix 3 changes the font I believe
Output font? Sorry, I don't understand your reply
It makes the Text() command display homescreen font. Fix 2 should put it back again.
:[080808082A1C0800]->Pic1
:Fix 5
:Fix 3
:Output(0,0,"Ioes Positivos
:Fix 2
:Text(0,15,"Aluminio
:Text(0,22,"Amonio
:Text(0,29,"Bario
:Text(0,36,"Calcio
:Text(0,43,"Chumbo
:Text(0,50,"Cobalto (II)
:Text(0,57,"Cobalto (III)
:Pt-Change(40,45,Pic1
:DispGraph
You mean this?
-
yes that should work. Also, you might wanna do fix 4 at the end to make sure text gets drawn normally.
-
yes that should work. Also, you might wanna do fix 4 at the end to make sure text gets drawn normally.
:[080808082A1C0800]->Pic1
:Fix 5
:Fix 3
:Output(0,0,"Ioes Positivos
:Fix 2
:Text(0,15,"Aluminio
:Text(0,22,"Amonio
:Text(0,29,"Bario
:Text(0,36,"Calcio
:Text(0,43,"Chumbo
:Text(0,50,"Cobalto (II)
:Text(0,57,"Cobalto (III)
:Fix 4
:Pt-Change(40,45,Pic1
:DispGraph
Like this?
-
yes, that should work fine.
-
yes, that should work fine.
I'll try it right away, thanks much!
EDIT: It sure works, thanks everyone.
How to cancel Fix 5 so?
-
Actually, instead of Fix 3 and 2 you should use Fix 1 and 0, respectively, since Fix 3 only inverts the text. And Fix 4 is used to cancel Fix 5, so otherwise you should be fine.
-
Actually, instead of Fix 3 and 2 you should use Fix 1 and 0, respectively, since Fix 3 only inverts the text. And Fix 4 is used to cancel Fix 5, so otherwise you should be fine.
That works better.
Fix's are cool, had no idea of what they were, though
-
They're in the Commands List in the Axe Parser zip. Just look under Text :)
-
Yeah, they're just funny little OS calls, that TI probably have available in the official (and rather pathetic) SDK.
Axe is better, and it's on-calc.
-
What Fix commands should be used to set the calculator back to normal when a program is done?
-
If you used 1, do Fix 0 on exit, if you used 3, do Fix 2, if you used 5, do Fix 4, if you used 6, do Fix 7 and if you used 8, do Fix 9.
-
So just do Fix (N-1) for any Fix N? That's simple to remember.
BTW: I like the new emoticon O.O
-
Yeah that was ripped from Chatzilla several years ago then used on the old board. I got Kerm to add it to Cemetech too, back then. :P
There are a bunch of others I'll add, though, but maybe not all of them, because there were many. I obviously want to re-add the rainbow one. :P
-
Add the devil one that's already available >:D
-
Yeah, they're just funny little OS calls, that TI probably have available in the official (and rather pathetic) SDK.
Axe is better, and it's on-calc.
Actually they're not OS calls, they change the OS flags that affect how OS calls will work if you call them.
-
can you do (-1,0,0,"text") in Axe like TI-BASIC?
(In TI-BASIC, it displays big text in graphscreen)
-
can you do (-1,0,0,"text") in Axe like TI-BASIC?
(In TI-BASIC, it displays big text in graphscreen)
(-1,0,0,"text") I had no idea that worked in basic, it looks like three coordinates to me, 3D then. Not sure if that can be done, but ask someone who has more knowledge on Axe than me
-
I believe you do Fix 6 to draw tect in large font. fix 7 negates it.
-
(-1,0,0,"text") I had no idea that worked in basic, it looks like three coordinates to me, 3D then.
That's not it!
-
Fix 1 - large font
Fix 0 - small font. make sure the calculator is in Fix 0 when your program exits.
-
can you do (-1,0,0,"text") in Axe like TI-BASIC?
(In TI-BASIC, it displays big text in graphscreen)
Text(-1,0,0,"text), not (-1,0,0,"text").
-
woops. I meant to say Text(-1,0,0,"text