[OpenSCAD] eval( ) ???

runsun runsun at gmail.com
Wed May 13 00:56:42 EDT 2015

Indeed. A first class function will work pretty well in cases like I post
above. Just thought of something. Since in openscad, parameters and
functions are stored in different places:     abc=3;    function
abc()=...;Assigning abc to a parameter, if possible, will be confusing:    
x = abc; // function or parameter?A possible way out of this is like what
Visual Basic does:    x = something; // assign parameter    *set* x =
something; // assign objectThat is, *set* for object assignment. In
openscad, could be function or module assignment. Not sure how expensive it
is though. 


$  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/2015.04.01.nightly 

View this message in context: http://forum.openscad.org/eval-tp12627p12630.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20150512/5ad49170/attachment-0002.html>

More information about the Discuss mailing list