Author Topic: Source Coder Help??  (Read 4055 times)

0 Members and 1 Guest are viewing this topic.

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Source Coder Help??
« on: September 22, 2011, 11:44:58 am »
When I use source coder, I want to actually type "getKey" instead of using the calc buttons to grab the token. Does it convert it back to tokens? So that typing "I" and then "f" converts to the If token upon export?
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Source Coder Help??
« Reply #1 on: September 22, 2011, 11:49:33 am »
yes.
Sig wipe!

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Source Coder Help??
« Reply #2 on: September 22, 2011, 06:55:44 pm »
Awwww YEahhh...
That makes life SOOOO much easier.
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline NanoWar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 140
  • Rating: +18/-6
    • View Profile
Re: Source Coder Help??
« Reply #3 on: September 23, 2011, 12:12:28 pm »
When using "If" inside a string as in "If I were you..." it shouldnt use the token since it reads differently in other languages :] .

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: Source Coder Help??
« Reply #4 on: September 23, 2011, 01:11:01 pm »
You have to make sure you have the syntaxes correct, I'm not 100% certain what kind of leeway Kerm gave SC, like if getkey will get tokenized to getKey or not. Tokens is specific to that, you can't typo a token or it will just turn it into text.

Just something to look out for :)
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Source Coder Help??
« Reply #5 on: September 23, 2011, 06:16:10 pm »
I believe that capitalization is important.
Sig wipe!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Source Coder Help??
« Reply #6 on: September 25, 2011, 12:21:37 am »
When using "If" inside a string as in "If I were you..." it shouldnt use the token since it reads differently in other languages :] .
It does. It's a good idea IMHO because it saves space and gets displayed the same way, anyway.
I believe that capitalization is important.
Yes, and so are spaces and parentheses -- "If" is two tokens (three bytes), while "If " is one.




Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55876
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Source Coder Help??
« Reply #7 on: September 25, 2011, 01:28:47 am »
THe problem though is if the person's calc is not set to English language and a token he used as text in a string to save space is different in other languages. You gotta be careful about that, although I guess you can always tell the person to disable any language before playing.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Source Coder Help??
« Reply #8 on: September 25, 2011, 10:29:23 am »
THe problem though is if the person's calc is not set to English language and a token he used as text in a string to save space is different in other languages. You gotta be careful about that, although I guess you can always tell the person to disable any language before playing.
Oh I see, good point.