Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:13 21 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMBASIC data parser

Author Message
Witenite
Newbie

Joined: 02/06/2022
Location: New Zealand
Posts: 8
Posted: 08:05am 11 Jul 2022
Copy link to clipboard 
Print this post

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!
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025