fmAutoMate icon indicating copy to clipboard operation
fmAutoMate copied to clipboard

fmAutoMate: encapsulate logic

Open mrwatson-de opened this issue 1 year ago • 2 comments

fmAutoMate currently supports code blocks, Which leads to bloated code.

Better would be MBS based custom functions.

Too busy, to be decided, is whether the functions and the menu items are in the same place, or whether the calculation pseudo-code editor needs to be refactored.

mrwatson-de avatar Jan 03 '24 06:01 mrwatson-de

One disadvantage of NBS, custom functions, and possibly a showstopper, is that they will need to be redefined after a fire maker restart before the menus will work.

Maybe this could have automatically using a check at the start of each function. However, Not if this bloats each and every function.

mrwatson-de avatar Jan 03 '24 07:01 mrwatson-de

An alternative way to reduce the memory footprint would be to store the placeholder code and perform the placeholder replacement dynamically.

mrwatson-de avatar Jan 03 '24 07:01 mrwatson-de