- Posts: 1108
- Thank you received: 599
Based on your suggestion I've created an ini branch where I'm completely changing how I deal with the ini file.
Code:Furthermore it would be good if unknown key value pairs (like "BACKLASH = 0.01") are not removed when generating the config. Maybe you can add a special section for that? Or remember the lines which didn't correspond to a supported value and print them when generating? This would also allow to keep comments.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Hmm but I saw it as a big advantage that your tool can open a config without need for additional files.The .mesact.conf file is created when you build the configuration and is used to setup the tool when you load the ini. Not sure exactly how I will merge old and new configurations yet but that must be addressed.
Please Log in or Create an account to join the conversation.
That is an advantage that you can share one file to create the whole configuration... I have solved the puzzle for the [HAL] duplicate keys issue. The disadvantage is the ini file gets very long... gotta ponder which way to go now.
The .mesact.conf file is created when you build the configuration and is used to setup the tool when you load the ini. Not sure exactly how I will merge old and new configurations yet but that must be addressed.
Hmm but I saw it as a big advantage that your tool can open a config without need for additional files.
Please Log in or Create an account to join the conversation.