Author Topic: Correlation: Vote on Output( with restricted arguments or ln(  (Read 13231 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Correlation: Vote on Output( with restricted arguments or ln(
« on: November 18, 2010, 03:24:37 pm »
I'm having issues with using Output( in Correlation.  This is because the TI-OS is stupid and doesn't translate Output() the same way it translates other Ti-Basic functions.  To get Output( to work with Correlation, a person would only be able to use variables, numbers and strings for the arguments, with ABSOLUTELY NO MATH being done.  For example, this would be acceptable:

Output(1, A, Str1)

This would not be:

Output(A + 5, B-6, sub(Str1, 3, 4)

However, if I use ln( instead of Output, a Ti-Basic programmer would be able to input math normally.  In addition, for converting Ti-Basic programs to use Correlation, all one would need to do is replace Output( statements with ln( statements.

Why ln( ?  To save space, because it takes only one byte.  Real( takes 2 bytes.

Please vote, and comment as well!
« Last Edit: November 18, 2010, 03:37:59 pm by Hot_Dog »

ASHBAD_ALVIN

  • Guest
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #1 on: November 18, 2010, 03:47:50 pm »
ln() then, so that people can also do the real output() at the same time.  Also, in BASIC I always used tons of math in my output() args, so I would go for ln() for that reason too.
« Last Edit: November 18, 2010, 03:48:56 pm by ASHBAD_ALVIN »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #2 on: November 18, 2010, 03:50:13 pm »
I'd like to be able to use the TIOS font and Correlation at the same time, so I voted for ln(). :)

Can ln() be used normally too?

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: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #3 on: November 18, 2010, 03:55:48 pm »
And I guess ln( could be taken to mean line, so I voted for it as well :)




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #4 on: November 18, 2010, 04:07:39 pm »
i voted for Ln() too.  That way you can use math, you can still use output(), and its all good :)  And thanks for not choosing log, as thats sometimes used for digit calculator, probably used more often than ln()

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #5 on: November 18, 2010, 04:12:23 pm »
ln() definitely. I'd die without in-line math in my Output(). :(
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #6 on: November 18, 2010, 05:12:18 pm »
People can always use changeofbase formula to do natural logs if they need to. Ln() is great, plus it looks like "line()" which is sort of relevant (as Deep Thought said)

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #7 on: November 18, 2010, 05:39:38 pm »
I went with ln(, too, because I know how much Output( hates anybody trying to parse it themselves :D Plus, I only use ln( on my 89.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #8 on: November 18, 2010, 05:44:34 pm »
Wait, you mean you aren't using a font hook?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #9 on: November 18, 2010, 05:45:46 pm »
That's what I said :D

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #10 on: November 18, 2010, 06:50:12 pm »
I think he is ditching the font hook idea for speed and so that he can customize any type of sized character

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #11 on: November 18, 2010, 07:06:04 pm »
Wait, you mean you aren't using a font hook?

Like Builderboy said: It's for speed and any-size characters.  In addition, it allows for multiple fonts in one program.

Ln() it is then.  For those who really want to use Ln() afterwards, they can turn off the parser hook inside of their Ti-Basic program.

I thought about people who want to use Output() as well as Ln().  For people who want to use the regular small font as well as a customized small font, I'm thinking that e^( will be the token for customized Text(, so that Text( can still be used.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #12 on: November 18, 2010, 07:06:43 pm »
Sounds great!  Good luck. :)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #13 on: November 18, 2010, 07:10:15 pm »
Hooray!  And out of curiosity, what would happen if we tried Ln(e^(0,0,"HI")) :D

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #14 on: November 18, 2010, 07:12:20 pm »
Hooray!  And out of curiosity, what would happen if we tried Ln(e^(0,0,"HI")) :D

Good thinking.  An ERR:INTERFERENCE will occur.  Same with e^(LN(0,0,"HI"))