Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Jonius7 on May 25, 2011, 06:24:05 am

Title: Typing TI-BASIC/AXE in TokenIDE
Post by: Jonius7 on May 25, 2011, 06:24:05 am
how do you type this on TokenIDE?
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Deep Toaster on May 25, 2011, 09:18:21 am
~D->D
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Munchor on May 25, 2011, 09:28:32 am
~D→D

As Deep Thought said, you can check the AxeTokens.xml or the Tokens.xml files to see how to type stuff.
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Deep Toaster on May 25, 2011, 11:16:43 am
Nope, it's ->, not →.
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Munchor on May 25, 2011, 11:18:33 am
Nope, it's ->, not →.

They are both correct for TokenIDE, it reads them as the same.....
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: merthsoft on May 25, 2011, 11:28:17 am
→ is an alternative for ->, so as Scout said they both work. However, -> is the main symbol, since that's the one that's easiest to type in the keyboard, that means when it's opening a program it'll show it as ->, even if you put →.

It might be a good idea for me to have some sort of look up.

Also note that if you want to actually use a tilde, you'll want to use the string:
Code: [Select]
|~If you actually want a vertical bar and then a tilde, you can use backslash to escape it, but then you need to include the bar for a tilde:
Code: [Select]
|\||~
You should also update to the most recent version of tokens:
http://merthsoft.com/Tokens.zip (http://merthsoft.com/Tokens.zip)
I don't know which version you're using, but some improvements have been made. Specifically the "Tokens" pane when editing a file which helps show how it's actually getting converted for the calc:
(http://img6.imageshack.us/img6/4499/tokenide20110519232545.png)

This reminds me that I need to update the Tokens thread here, someone should make sure I do that when I get home.
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Munchor on May 25, 2011, 11:29:13 am
It's just *way* easier for me to type → than ->, it takes less than half of the time, so I just type that all the time.
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: merthsoft on May 25, 2011, 11:33:33 am
That's fair. It's going to be different for different keyboards/users, that's why I added the "alt" in there. You can, of course, edit the xml to your liking and make → the main.
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Munchor on May 25, 2011, 11:34:37 am
That's fair. It's going to be different for different keyboards/users, that's why I added the "alt" in there. You can, of course, edit the xml to your liking and make → the main.

Ah that's great, thanks I didn't know that :)
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Jonius7 on May 25, 2011, 08:02:43 pm
cool. is the one on ticalc.org not the most recent? possibly as it was updated march 2011

Yeah this one's much better, has the characters in brackets
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Deep Toaster on May 25, 2011, 10:41:31 pm
Nope, it's ->, not →.

They are both correct for TokenIDE, it reads them as the same.....

Ah, didn't know that, sorry :)

And that token panel looks cool! Can it be optionally disabled?
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Jonius7 on May 26, 2011, 12:29:18 am
Ok then I'll try and sum up the differences for beginners like me:

Tell me if there's any mistakes
30/05 version 6

Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: merthsoft on May 26, 2011, 11:22:13 am
... that token panel looks cool! Can it be optionally disabled?
It can't be disabled, but that's because there's no real reason to do so. Maybe if someone is using a REALLY slow machine they'd notice a performance hit. If it comes up as an issue, and I can turn off the auto-update.

Ok then I'll try and sum up the differences for beginners like me:

Tell me if there's any mistakes
Ah, that's wonderful, I should definitely include that in the download, you'll be credited. Thanks!
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Jonius7 on May 29, 2011, 08:07:34 pm
Thank you so much. It is an incomplete list tho, i'll see if i can update it and simplify it to just include the commands that can be confusing!
Eg: I have already separated the commands that require square braces (eg: [sigmax]) from the rest

also about the panel. it can be very slow once you insert a long string for example a picture, each command takes about a second to update. maybe you could set it so that it wouldn't automatically update the tokens every time you type a character but there's a refresh button if you want to see the updated token/hex code?

Anyway this is kinda going off topic, well i mean this stuff should be in the official TokenIDE thread, if there is one. if there isn't one (except for this thread) then never mind what i just said.
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Munchor on May 31, 2011, 06:05:51 pm
Thank you so much. It is an incomplete list tho, i'll see if i can update it and simplify it to just include the commands that can be confusing!
Eg: I have already separated the commands that require square braces (eg: [sigmax]) from the rest

also about the panel. it can be very slow once you insert a long string for example a picture, each command takes about a second to update. maybe you could set it so that it wouldn't automatically update the tokens every time you type a character but there's a refresh button if you want to see the updated token/hex code?

Anyway this is kinda going off topic, well i mean this stuff should be in the official TokenIDE thread, if there is one. if there isn't one (except for this thread) then never mind what i just said.

That thread is right here (http://ourl.ca/6647).
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Jonius7 on February 09, 2012, 06:10:22 am
Anyway, TokenIDE hasn't been updated for a while, and there's that guide I wrote for TokenIDE commands for beginners a few months ago. http://ourl.ca/11203/212954
Also I am happy that I have been able to contribute to some of the changes such as option for Live Update in the Token's right side panel.
Title: Re: Typing TI-BASIC/AXE in TokenIDE
Post by: Jonius7 on March 01, 2012, 07:15:21 am
@merthsoft Are you also going to add in my guide for Using TokenIDE for beginners in the download?