hi rex,
first let me say your plugins are amazing and i use them a lot.
i have 2 suggestion for Function2M.
1) timer plugin like support
how it looks now:
start Timer "A" 1 sec
on Timer "A"
call func:"A"
the problem:
the code is very messy,
i do not want to use system wait -> you cannot stop it, and it saves the entire object filter in memory.
how to fix:
add new actions:
call function with a timer (once or looped) (with / no params)
stop timer
---------------
2) delegate support
how it looks now:
layoutstart:
call func: "A" (delB)
call func: "A" (delC)
on func "A" :
globalDel <- A.param(0)
call func: "LongProcess"
on func "LongProcess":
call func: globalDel
the problem:
the code is very messy, and it will not work if you call 2 delegates at the same time.
how to fix:
the function should keep in memory the delegates as special params even after its activation has finished.
at anytime you can call -> active all delgates(A) , A is the function name.
*i think the these 2 problems (timer & delegate) should be solved in the plugin level and not the c2 level.
still the plugin is a great improvement of orginal function, and its great for wanting something closer to "real programming"