| Posted: 03:07am 12 Jan 2021 |
Copy link to clipboard |
 Print this post |
|
sub saveconfig open "settings.cfg" for output as #7 print #7, comporttype$ print #7, rs232% print #7, linefeedstate$ print #7, linefeeds% print #7, modeminitstring$ close #7 end sub
sub loadconfig open "settings.cfg" for input as #7 line input #7, comporttype$ line input #7, rs232% line input #7, linefeedstate$ line input #7, linefeeds% line input #7, modeminitstring$ close #7 end sub
When I use the above subroutines in my code, I find that the variables are not read back from the SD card correctly. It seems like it can't save or recall the INT variables correctly. Is this correct behavior, or a bug?
Thank you. Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer. |