Hi tjasper,
thank you for your suggestion!
Zitat von tjasper im Beitrag #1
hi,
the AS language offers the possibility to save and load single parts of the program like functions or precision points in separate files via SAVE and LOAD commands. I like this approach very much, because I run several robots with the same code but slightly changed precision point variables and it is very cumbersome to make code changes to all .as files individually.
I would really like to be able to save and load variables and programs in separate files already in the KIDE environment.
I understand your workflow but I'm afraid this will not be implemented, because it will break the K-IDE philosophy. Sorry for that!
When we started the "K-IDE" software project, one of the fundamental requirements was to be able to store the entire robot project in an AS-compatible file and transfer it to the robot, so that the project can be loaded back from the robot into the K-IDE in exactly the same way. It was not intended to create a different data format on the K-IDE computer that could not be reconstructed from the robot's data. If you link your AS data from different files in different locations on your computer or network (via a separate project file or something like this), this link cannot be written to the robot or it will not make sense to do so.
In your example if you change some code in one K-IDE project, you need to include this change into any other K-IDE project (you can use copy & paste for variable lists and programs) before sending it to the robot. IMHO this is not a big deal.