Magic Lantern Forum

Developing Magic Lantern => Scripting Corner => Scripting API suggestions => Topic started by: garry23 on February 21, 2018, 06:39:46 AM

Title: Version number
Post by: garry23 on February 21, 2018, 06:39:46 AM
As the Lua environment and the API evolves, one 'problem' for scripters like me is to ensure a script is fit to run.

I was wondering if there was a way to keep track of the Lua module's version?

For instance a simple progression number, eg x, x+1 etc

This way a script can check this version number and take appropriate action, eg not run and/or provide user feedback.