|
Forum Index : Microcontroller and PC projects : MMBASIC data parser
| Author | Message | ||||
| Witenite Newbie Joined: 02/06/2022 Location: New ZealandPosts: 8 |
Hi to all my fellow MMBASIC users. I recently developed a little program that allowed me to quickly and easily convert data (in CSV format) to lines of MMBASIC DATA command lines. I've written the program to be flexible, with a config file where you can tweak a couple of settings such as source and target filenames, delimiter type and column count. I did this partly for a little project I'm working on in MMBASIC, but also just an interesting bit of code to implement in my other favourite language, Golang. It is proving most useful to me and I thought I'd share it on Github, just in case anybody else may find this equally useful. The objective is to firstly save you manually entering line upon line of data in your MMBASIC program, especially if it's data that you are debugging or changing on a fairly regular basis. The second objective is that, by automating the process I have eliminated the potential for human error to creep in (something I know I have done many times before when entering a lot of repetitive or mundane code into a program). Here is a link to the Github repository where I have uploaded the program. Aside from the source files, I have included a build for both Linux and Windows 10. Enjoy, and if you have any comments or questions, or think it's just a flat out bad idea, let me know. Thanks! |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |