Author Topic: Speedy Way to Leave Parser?  (Read 2353 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Speedy Way to Leave Parser?
« on: April 23, 2011, 05:33:29 am »
Thanks to Runer112 and calc84maniac, my new Output( routine displays characters at speeds TI can't even begin to compete with.  Yet even with their horrible Output( code, they beat me by two seconds.

My guess is that if I return nz with the result of my computation in OP1, there's a HUGE amount of code the calculator goes through before continuing to parse the Ti-Basic program.  

Is there any routine or code or something to speed up the process, that is, by avoiding Ti's "parser-is-done-go-to-next-line" code?  Unfortunately, reset numOP1,(iy+ParsFlag2) is not an option for me.
« Last Edit: April 23, 2011, 05:35:13 am by Hot_Dog »