You could create a menu using Text(), and people could run programs by clicking on a program's name.
» Forum
> Your Projects
souvik1997 wrote:
You could create a menu using Text(), and people could run programs by clicking on a program's name.
exactly what do you mean.
do you mean:
1.
2.
3.
4.
5.
or do you mean:
1. 2. 3. 4.
5. 6. 7. 8.
9. 10. 11. 12.
i have an idea... is it possible to make a program that sets Str1 to a
then a loop will repeat 26 time changing Str1 by a letter of the alphabet each loop?
sort of like Str1=a -> Str1=b -> Str1=c -> Str1=d
You would do this:
Code:
Do you understand how that works?
Code:
For(A,1,26
sub("ABCDEFGHIJKLMNOPQRSTUVWXYZ",A,1->Str1
End
Do you understand how that works?
spud2451 wrote:
thank you so much Kerm you just solved my problem of sorting the programs
I don't think I did. To get the numerical value of a letter:
Code:
"TEST->Str1
inString("ABCDEFGHIJKLMNOPQRSTUVWXYZ[theta]",sub(Str1,1,1)->X
That will get you X=1 through X=27 for the value of the first letter of Str1, in this case 'T'.
here's the code
Code:
I just found out that the code that says:
If det(14,Str2,0,2) not= "BB6d"
Then
Disp Str2
isn't working and is messing the program up
Can anybody suggest another way to tell if Str2 is an ASM program because I'm stumped.
Code:
ClrHome
For(n,1,26
sub("ABCDEFGHIJKLMNOPQRSTUVWXYZ",N,1)→Str3
det(32,Str3,)→Str1
1→K
inString(Str1," ",K)→Z
While Z
sub(Str1,K,Z-K)→Str2
If det(14,Str2,0,2) not= "BB6d"
Then
Disp Str2
End
Z+1→K
inString(Str1," ",K)→Z
End
End
Pause
I just found out that the code that says:
If det(14,Str2,0,2) not= "BB6d"
Then
Disp Str2
isn't working and is messing the program up
Can anybody suggest another way to tell if Str2 is an ASM program because I'm stumped.
I hope by "not =" you mean "≠".
det outputs bytes, not ASCII hex, so you'd want something like:
Code:
I also hope that you're more careful with upper and lowercase letters in your programming, and that you don't actually have "n" as your loop variable.

Code:
If det(18,det(14,Str2,0,2))≠"BB6D
Then
Disp Str2
End
Thanks Kerm. You've helped me sooo much throughout the progress of Fiddle and for that I thank you again.
KermMartian wrote:
I hope by "not =" you mean "≠".
det outputs bytes, not ASCII hex, so you'd want something like:
Code:
I also hope that you're more careful with upper and lowercase letters in your programming, and that you don't actually have "n" as your loop variable.

Code:
If det(14,Str2,0,2)≠"BB6D
Then
Disp Str2
End
Fix'd. Sorry Kerm, I'm going to remove that bad code from my old post right now.
I forgot that det(14...) converts the output to ASCII hex for you. Sorry it took me so long to remove the bad code from the old post. I guess I should've read my own ReadME a bit more closely.
Even though I authored Celtic III, please forgive me if I don't know all the details of my project after having not seen or used that function in so long. Three or four years will do that type of stuff to you.
Even though I authored Celtic III, please forgive me if I don't know all the details of my project after having not seen or used that function in so long. Three or four years will do that type of stuff to you.
spud2451 wrote:
sorry this is a little off topic but does anyone know of any good Axe Parser tutorials
I suggest either looking at TIFreakware ( http://tifreakware.net/tutorials/83p/axe/ ) or in the Omnimaga Tutorials section ( http://www.omnimaga.org/index.php?action=articles;cat=12 )
Umm, Axe has a HTML file which explains the syntax for each of the commands in its .zip. I suggest that you look at that.
Time for a new thread? If this doesn't have to do with your shell, it isn't on-topic, and needs its own topic.
_player1537 wrote:
Time for a new thread? If this doesn't have to do with your shell, it isn't on-topic, and needs its own topic.
Very off-topic indeed. There may already be a topic about Axe tutorials, but if not, you should make one.
sorry for going off topic it was just a quick question plus i was thinking that maby I could make fiddle in axe sometime later
edit: I'm currently making the cursor program in axe and then compiling it into ASM to make it faster. Horray for axe
here's the code encase anyone wants a copy or just wants to see it
Code:
edit: I'm currently making the cursor program in axe and then compiling it into ASM to make it faster. Horray for axe
here's the code encase anyone wants a copy or just wants to see it
Code:
:.A
:44→X
:28→Y
:Full
:DiagnosticOff
:[80C0E0F0F8FCC080]→GDB0
:ClrDraw
:While getKey≠55
:ClrDraw
:Pt-On(X,Y,GDB0)
:DispGraph
:While getKey(0)
:End
:If getKey(1)
:Y+1→Y
:End
:If getKey(2)
:X-1→X
:End
:If getKey(3)
:X+1→X
:End
:If getKey(4)
:Y-1→Y
:End
:End
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
» Goto page Previous 1, 2, 3, 4, 5, 6, 7 Next
» View previous topic :: View next topic
» View previous topic :: View next topic
Page 6 of 7
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement