Changing the indexing of the accumulator# parameter. (Preparing)
The change will affect formats 1 - Enhanced Accumulator Reporting (32-bit) and 2 - Enhanced Accumulator Reporting (256-bit) data structures. At the moment, the parameter index starts from 1, will be changed to 0. The changes will be applied in 1 week (14.06.2023) from today (07.06.2023). If you need more time, please contact us flespi team.
Important note!
In order for the change to happen without harm to users we added new temporary parameter "accumulator.shift" which has a state of false. The parameter can be used in the plugin that is attached below.
The plugin is designed in such a way that it will start working when the parameter indexing changes are put into operation and accumulator.shift is set to true. The essence of the plugin's work is that the indexing of parameters does not change, that is, even when the reference point is 0, the plugin will automatically change the parameter index to +1, so by using this plugin, the user will not notice the changes.
The temporary parameter "accumulator.shift" will be removed one more week after the changes are applied (21.06.2023), if you need more time, please let us know.
{
"configuration": {
"code": "if optional .accumulator.shift == true:\n\trepeat[64, counter=$i, from=0]:\n\t\tformat[\"accumulator.%d\", $i] ==> $old_name\n\t\tformat[\"accumulator.%d\", $i + 1] ==> $new_name\n\t\tmove optional {$old_name} ==> #param[$new_name]"
},
"item_type": 11,
"name": "accumulator shift",
"type_id": 1
}