SUBTLE LINPUT ERROR.
- ahenry3068
- Posts: 1146
- Joined: Tue Apr 04, 2023 9:57 pm
SUBTLE LINPUT ERROR.
I'm using LINPUT on the console for a short helper program to build my Word file for Hangman. I'm using it to get a short Clue phrase. At vastly sporadic intervals, its crashing the program with a ?STRING TO LONG error. I'm not inputting more than 40 characters into it. And the crash is extremely RANDOM.
Last edited by ahenry3068 on Thu Oct 12, 2023 10:27 pm, edited 1 time in total.
- ahenry3068
- Posts: 1146
- Joined: Tue Apr 04, 2023 9:57 pm
Re: SUBTLE LINPUT ERROR.
Getting the Same Error intermittently when using LINPUT#LFN. And I've looked at my files in a HEX Editor. They are all $0D terminated and the string is much less than a MAXSTRING. Input#LFN seems to do what I need it to anyway. It gets the entire $0D terminated string, So I can just use INPUT.