[OpenSCAD] Openscad Indirect Functions

Greg Frost gregorybartonfrost at gmail.com
Sun Oct 16 11:28:45 EDT 2016


> nophead wrote
> 
> ...... but you could do that without @ as well:
> 
> 
> module whatsit (...) {...}
> 
> module doit(m)
>    ....
>    ...transforms...  m(parameters);
> 
> 
> doit(whatsit);

What if you also had a variable called whatsit?
That is where the @ comes in. It disambiguates the namespace like () does with a function.



More information about the Discuss mailing list