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

0 Members and 1 Guest are viewing this topic.

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 #15 on: November 18, 2010, 07:15:30 pm »
Or maybe you could do some hyper optimizations and have it return the String that it displays.  Like Ln(0,0,"HI")->Str1 would display the string and then store it into Str1.  You could display a string at two different locations Ln(0,0,e^(0,0,"GAME")) ;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 #16 on: November 18, 2010, 07:18:18 pm »
Or maybe you could do some hyper optimizations and have it return the String that it displays.  Like Ln(0,0,"HI")->Str1 would display the string and then store it into Str1.  You could display a string at two different locations Ln(0,0,e^(0,0,"GAME")) ;D

Not a bad idea, but (sarcastic) how often does that get used ;D  I would do it if people wanted to use it often enough
« Last Edit: November 18, 2010, 07:18:38 pm by Hot_Dog »

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 #17 on: November 18, 2010, 07:19:57 pm »
Or maybe you could do some hyper optimizations and have it return the String that it displays.  Like Ln(0,0,"HI")->Str1 would display the string and then store it into Str1.  You could display a string at two different locations Ln(0,0,e^(0,0,"GAME")) ;D
I'd use it if it was a feature. :)

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 #18 on: November 18, 2010, 07:21:20 pm »
Or maybe you could do some hyper optimizations and have it return the String that it displays.  Like Ln(0,0,"HI")->Str1 would display the string and then store it into Str1.  You could display a string at two different locations Ln(0,0,e^(0,0,"GAME")) ;D
I'd use it if it was a feature. :)

There's one.  Anyone else?

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 #19 on: November 18, 2010, 07:22:45 pm »
Oooh ooh oooooh me me me me!  Seriously though displaying and storing text on the same line is pretty awesome in my opinion ^^

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 #20 on: November 18, 2010, 07:29:07 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.
* Deep Thought likes that idea too. It matches the theme ;D




Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #21 on: November 18, 2010, 08:42:30 pm »
ln() sounds good. I use math very often with output statements.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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 #22 on: November 18, 2010, 08:52:24 pm »
Oooh ooh oooooh me me me me!  Seriously though displaying and storing text on the same line is pretty awesome in my opinion ^^

Actually, I can do displaying and storing text at the same time.  HOWEVER, I'm afraid I won't be able to have text displayed on both screens at the same time, such as ln(0,0,e^(1,1, "THE GAME")), not when using custom fonts.  Sorry :(

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #23 on: November 18, 2010, 09:03:58 pm »
ln() definitely. I'd die without in-line math in my Output(). :(
Same. I never made a BASIC homescreen-only game that only uses constants as Output arguments. I voted ln().

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 #24 on: November 18, 2010, 10:40:06 pm »
I have it! This is a hook I just made (with one random function, one cool function, and one really cool function). The trick though is that if you do ln(3), it will return the actual answer. However, ln(0,0) will execute the first function, not ln(

-The functions are 2 key related functions and an advanced function that lets the user edit a program or variable at the byte level.
-This is built off from one of my actual programs that use the int( token, but I changed it to ln( for this purpose

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 #25 on: November 18, 2010, 11:13:20 pm »
I have it! This is a hook I just made (with one random function, one cool function, and one really cool function). The trick though is that if you do ln(3), it will return the actual answer. However, ln(0,0) will execute the first function, not ln(

-The functions are 2 key related functions and an advanced function that lets the user edit a program or variable at the byte level.
-This is built off from one of my actual programs that use the int( token, but I changed it to ln( for this purpose

Not only do I like the idea, I'm incorporating it!

By the way, in your experience, do you find that Ti-Basic programs run slightly slower with the parser hook on, or is the difference unnoticable?

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 #26 on: November 18, 2010, 11:14:58 pm »
This difference is not noticeable from what I can see. Maybe a hundred thousandths of a second slower by my calculation... :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Correlation: Vote on Output( with restricted arguments or ln(
« Reply #27 on: November 18, 2010, 11:23:00 pm »
It depends of the app. Omnicalc 1.1 or lower slowed down BASIC programs by half. 1.2 isn't as bad, xLIB is less noticeable and I think the others are even less bad in terms of slow down.