Author Topic: Nspire Text Viewer  (Read 17135 times)

0 Members and 1 Guest are viewing this topic.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Nspire Text Viewer
« on: August 30, 2010, 12:41:16 pm »
This is a small project I made for personal use, but I'll post it here anyway in case someone finds it useful.
It displays a text file in the Examples directory (any file with name of the form *.txt.tns). You can scroll down through the file, but not up :(
To use, find a text file, rename it with a .txt.tns extension, and send it to Examples. Then run the program and select the file from the list.
The program is Non-CAS only, since there are no CAS symbols for the directory listing functions yet.
« Last Edit: August 30, 2010, 05:28:51 pm by bwang »

Online 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: Nspire Text Viewer
« Reply #1 on: August 30, 2010, 03:44:30 pm »
Some sort of Notepad for Nspire?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Nspire Text Viewer
« Reply #2 on: August 30, 2010, 03:48:25 pm »
I thought there were non-cas symbols for directory listing?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire Text Viewer
« Reply #3 on: August 30, 2010, 03:49:47 pm »
Looks nice bwang!

I will try this if I ever get ndless working on the CAS rom in the emulator!

Great job :)


Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Text Viewer
« Reply #4 on: August 30, 2010, 05:30:12 pm »
Some sort of Notepad for Nspire?
Not really. No editing :(
I thought there were non-cas symbols for directory listing?
Whoops, I meant Non-CAS only :-[

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire Text Viewer
« Reply #5 on: August 30, 2010, 05:33:18 pm »
Well, in that case, I'll try it out as soon as I'm done with my homework. :

Btw, if you need a text editor for the Nspire and you have the computer software, I have found it easy to copy and paste the text into a notes page and edit it from there.  Sadly, this is almost impossible to do if you don't have the computer software.


Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Text Viewer
« Reply #6 on: August 30, 2010, 05:50:18 pm »
The notes app is slow for long files - I'm talking about stuff like 500KB game walkthroughs :P

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire Text Viewer
« Reply #7 on: August 30, 2010, 06:07:15 pm »
Yeah, that is true.  I used it to store text files I might need for school (I once used it to store the text of an essay that I could not lose at all costs, if I lost my hard copy, I still had the calc :)).  Still, using you program will probably be much easier.  Now, for Ndless 2 to be released so I can use it in school... :)


Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Text Viewer
« Reply #8 on: August 30, 2010, 06:11:12 pm »
eh, its not an editor, just a viewer, so it cannot replace the notes app yet.
I'm working on it :D

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire Text Viewer
« Reply #9 on: August 30, 2010, 06:12:33 pm »
I know, but for what I use the Notes App for, I never have to edit, only view. :P


Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Nspire Text Viewer
« Reply #10 on: August 30, 2010, 06:16:30 pm »
nice job!
Any chance of screenshots?  :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire Text Viewer
« Reply #11 on: August 30, 2010, 06:23:00 pm »
Here you go:



Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Text Viewer
« Reply #12 on: August 30, 2010, 06:23:18 pm »
I know, but for what I use the Notes App for, I never have to edit, only view. :P
A rather unfortunate drawback of this viewer is it only scrolls down :( I'll need to make some moderate code changes to implement scrolling up.
nice job!
Any chance of screenshots?  :P
I'll post some as soon as I get back to my computer.
EDIT: Ninja'd by apcalc! Thanks apcalc! Now I don't have to walk back to my dorm :D
« Last Edit: August 30, 2010, 06:24:14 pm by bwang »

Online 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: Nspire Text Viewer
« Reply #13 on: August 31, 2010, 03:02:16 am »
* DJ Omnimaga wonders if this will have formatting and stuff eventually ^^

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire Text Viewer
« Reply #14 on: August 31, 2010, 03:10:54 am »
Might. First I need to let the user scroll up :P
« Last Edit: August 31, 2010, 03:11:14 am by bwang »