I added this line of code:

Code:
:inString(sub(Str9,19,length(Str9)-19-1),",")+19->L₆(3

to the TI-84 Plus version of my NMEA 0183 position interpreter. Testing it on the homescreen, it works fine. After adding it, the program prgmNMEAPOSC errors with "ERR:SYNTAX" on homescreen, and going to the error takes the cursor to the end of "prgmNMEAPOSC" on the homescreen. When I run it from a test program prgmAAAAA, the program executes until it reaches ":prgmNMEAPOSC", where I again receive "ERR:SYNTAX". Going to the error takes the cursor to the end of "prgmAAAAA" on the homescreen.

I sent NMEAPOSC and Str9 over to a TI-83 Plus, and it acts the same way.

Str9 is defined as ":GPGGA,170834,4124.8963,N,08151.6838,W,1,05,1.5,280,2,M,-34.0,M,,*75".
On my cpse I've been having a similar problem with the same command(s)!
I wonder why it doesn't go to the point of the syntax error...
While apparently that did cause the issues, it didn't cause it directly. Instead, a line that uses expr( on substrings based on the positions that that code uses was causing the issues.

TL;DR expr( doesn't goto when it fails.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement