[OpenSCAD] Difference in a Function Definition

runsun runsun at gmail.com
Mon Apr 13 10:20:48 EDT 2015


I learned it this way:

a = x;   // x is a parameter, previously defined as x=something;
b = x( ); // x is a function
x; // x is a module

So in OpenScad you can have same name x representing 3 different things.




-----

$  Runsun Pan, PhD 

$ -- OpenScad_DocTest: doc and unit test ( Github , Thingiverse  ) 

$ -- hash parameter model: here , here 

$ -- Linux Mint 17.1 Rebecca x64  + OpenSCAD 2015.03.15 
$ -- Linux Mint 17.1 Rebecca x64  + OpenSCAD 2015.04.01.nightly 




--
View this message in context: http://forum.openscad.org/Difference-in-a-Function-Definition-tp12303p12356.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list