Is it possible to run arbitrary script statements with the APIs? For example:
Code: Select all
:do { xxx } on-error={ yyy }
or:
Code: Select all
foreach item in=[ xxx ] do={ yyy }
Please note, writing the body of the script with:
Code: Select all
/system/script/add name=script_name source="script_source"
and running with:
Code: Select all
/system/script/run script_name
is not a good option for me because of the high volume of writes expected to be made (flash wear) and the low speed.
Thank you