First sorry for the thread's subject, but I don't know how to explain it well.

I have several functions that follow a pattern simular to this: 
    
    
    proc fname(sys:var System; param1:P1; param2:P2; .....; wp:Workplane; 
grp:Group):Whatever =
       ....
    
    
    Run

But once known `sys`, `wp` and `grp`, I would like to use: `proc 
fname(param1:P1; param2:P2;...):Whatever`.

What I would like to do is to fix those params. Something similar like closures 
but applying to several functions.

I was thinking about using a global for `sys`, and setting something default 
values for `wp` and `grp`. But I don't like it that much.

I was also thinking on templates or macros.

Is there any simpler approach that comes to your minds? Thanks

Reply via email to