So i wrote some code for a ti-89...
(Pastebin link because i suck)
https://pastebin.com/pCqHZmfy
So it gives an error when it goes to “return i”
Looking up the error code in a book, it means that i was not defined when it was returned.
I have no idea why this is.
(The code prettymuch is made to find a certain string in a list, skipping every other one, and returning the index where it was found, or -1 if not found. The other stuff is so it can match it without needing the full string, but using only a part instead)
(Optimizations are also welcome)
Can somebody help? Everything else works so far....
(Pastebin link because i suck)
https://pastebin.com/pCqHZmfy
So it gives an error when it goes to “return i”
Looking up the error code in a book, it means that i was not defined when it was returned.
I have no idea why this is.
(The code prettymuch is made to find a certain string in a list, skipping every other one, and returning the index where it was found, or -1 if not found. The other stuff is so it can match it without needing the full string, but using only a part instead)
(Optimizations are also welcome)
Can somebody help? Everything else works so far....