Author Topic: line counter ti83+/ti84  (Read 2092 times)

0 Members and 1 Guest are viewing this topic.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
line counter ti83+/ti84
« on: January 05, 2014, 11:59:16 am »
I couldn't find one of these online so I made my own. put the program name in Str1 (ex: "prgmTEST"->Str1) then run prgmLINEZ and it will display how many lines your program is. Made in Axe.

Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

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: line counter ti83+/ti84
« Reply #1 on: January 05, 2014, 02:33:16 pm »
I know Celtic 3 has a function that can do it and since C3 is built into DoorsCS7, it can do it, too. I've also made programs, like CopyProg that does that among other things. However, these return the number in a variable instead of displaying the number of lines.

One thing that I have done with the tools I mentioned is to make a program viewer. From the code that you currently have, you could make it so that specific lines could be jumped to for viewing, as well as scrolling through the source line by line.

As well, Celtic 3 allows line reading, inserting, overwriting, and deleting. It would be neat if you could think of other functionalities!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: line counter ti83+/ti84
« Reply #2 on: January 05, 2014, 05:08:07 pm »
Ah, nice little tool, can be funny for some stats ^.^

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: line counter ti83+/ti84
« Reply #3 on: January 05, 2014, 05:49:28 pm »
Quote
From the code that you currently have, you could make it so that specific lines could be jumped to for viewing, as well as scrolling through the source line by line.

That would be cool. I think zStaxe can be used to skip to a certain spot but I haven't checked in a while.
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

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: Re: line counter ti83+/ti84
« Reply #4 on: January 06, 2014, 11:50:36 am »
Does this Line counter work with BASIC programs and can it also detect when multiple lines are concatenated with ":"?