Post by Steve on Jul 1, 2020 7:14:38 GMT
What has been added to the update?
New Features:
1. Custom Variable NamesVariables of every type can have custom names for example:
1 | RUN ACTION | DEFINE INTEGER VARIABLE | %TOTAL%::100
2 | RUN ACTION | DEFINE STRING VARIABLE | %NAME%::STEVE
2. New DEBUG actions:
Show Custom Variables. Show custom variables outputs all custom vars defined to the MMM internal event log.
1 | RUN ACTION | DEBUG | SHOW CUSTOM VARIABLES
Clear Custom Variables. Clear custom variables removes the values from all custom variables.
1 | RUN ACTION | DEBUG | CLEAR CUSTOM VARIABLES
Clear All Arrays. Clears all internal array variables.
Internal arrays include, custom vars, array vars (coming soon), and MMM internal event log events.
1 | RUN ACTION | DEBUG | CLEAR ALL ARRAYS
More DEBUG actions can be found here www.turnssoft.com/conditions.html#debug
Improvements:
1. Code indentation.
Code indentation is used to visual indent macro lines into easier to read blocks.
At this version the code indentation is only visual and doesn't how macro lines are processed.
Right click a macro line(s) - Edit Entry - Indent/Unindent (Ctrl+M/Ctrl+Shift+M)
2. The %TIME_MACRO% internal variable is now expanded to include granular total output:
%TIME_MACRO_H% - The total running time in hours
%TIME_MACRO_M% - The total running time in minutes
%TIME_MACRO_S% - The total running time in seconds
%TIME_MACRO_MS% - The total running time in milliseconds
3. Save to INI - 'Are you sure?' option added.
Saving MMM settings to file is only suitable for those wishing to carry MMM settings between computers.
When a settings INI file exists, it takes precedence over running settings.
In the past, the precedence shift to the INI file has caused confusion for those unaware of this.
So, 'Are you sure?' has been added.
Saving MMM settings to file is only suitable for those wishing to carry MMM settings between computers.
When a settings INI file exists, it takes precedence over running settings.
In the past, the precedence shift to the INI file has caused confusion for those unaware of this.
So, 'Are you sure?' has been added.
Fixes:
1. Fix for integer math chaining failing to evaluate more than one variable (MMM_BZ16)
2. Fix for EXIT action failing to cleanly close MMM (MMM_BZ17)