[OpenSCAD] eval( ) ???
miro at hroncok.cz
Wed May 13 13:16:41 EDT 2015
I'd rather see that function names and variables are saved in the same
scope, even though it might get backwards incompatible.
2015-05-13 18:55 GMT+02:00 runsun <runsun at gmail.com>:
> If I didn't use the keyword "Visual Basic", but present it as just an idea,
> will you have the same resentment?
> To me, borrowing idea from other language doesn't mean the entire openscad
> is going toward it. It all depends on how to implement to fit needs.
> Aside from that, using set for func/mod assignment does have its down side.
> The following does look weird :
> some_module( arg1, set arg2= some_func )
> So, alternatively, we can use a func specifically designed for this (this
> time I won't say where the idea is from :) ):
> x1 = abc; // assign parameter abc
> x2 = function( abc ) ; // assign function abc
> $ 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: Re: eval( ) ???
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> OpenSCAD mailing list
> Discuss at lists.openscad.org
More information about the Discuss