[OpenSCAD] eval( ) ???

jon jon at jonbondy.com
Wed May 13 13:45:07 EDT 2015


Agreed

On 5/13/2015 1:16 PM, Miro Hrončok wrote:
> I'd rather see that function names and variables are saved in the same
> scope, even though it might get backwards incompatible.
> Miro Hrončok
>
> Telefon: +420777974800
>
>
> 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
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.5863 / Virus Database: 4342/9764 - Release Date: 05/13/15





More information about the Discuss mailing list