diff --git a/doc/function/get_mse_version.txt b/doc/function/get_mse_version.txt new file mode 100644 index 00000000..d8a79bd4 --- /dev/null +++ b/doc/function/get_mse_version.txt @@ -0,0 +1,7 @@ +Function: get_mse_version + +--Usage-- +> get_mse_version() + +Returns the current MSE app version in a string of the form: +"major.minor.patch" diff --git a/doc/function/index.txt b/doc/function/index.txt index fd30267e..22ebd80a 100644 --- a/doc/function/index.txt +++ b/doc/function/index.txt @@ -111,6 +111,7 @@ These functions are built into the program, other [[type:function]]s can be defi | [[fun:write_set_file]] Write a MSE set file to the output directory. ! Other functions <<< +| [[fun:get_mse_version]] Get the MSE app version. | [[fun:trace]] Output a message for debugging purposes. | [[fun:assert]] Check a condition for debugging purposes. | [[fun:warning]] Output a warning message. diff --git a/src/script/functions/basic.cpp b/src/script/functions/basic.cpp index 1f57bfb1..7f6b462e 100644 --- a/src/script/functions/basic.cpp +++ b/src/script/functions/basic.cpp @@ -8,6 +8,7 @@ // ----------------------------------------------------------------------------- : Includes #include +#include #include