<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div>I know 'God' is faith based, but application specific too? tut tut tut....</div><div id="yui_3_16_0_1_1431510360261_84912">{}<br></div><div><span></span></div> <br><div id="yui_3_16_0_1_1431510360261_84623" class="qtdSeparateBR"><br><br></div><div style="display: block;" id="yui_3_16_0_1_1431510360261_84596" class="yahoo_quoted"> <div id="yui_3_16_0_1_1431510360261_84595" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div id="yui_3_16_0_1_1431510360261_84594" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div id="yui_3_16_0_1_1431510360261_84593" dir="ltr"> <font id="yui_3_16_0_1_1431510360261_84592" face="Arial" size="2"> On Wednesday, 13 May 2015 10:58 PM, jon <jon@jonbondy.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv4385900183">
<div>
Oh, god. Please do not head towards Visual Basic.<br>
<br>
On 5/13/2015 12:56 AM, runsun wrote:<br>
<blockquote type="cite">
<pre style="font-size:13px;">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:
<code style="font-size:13px;">
abc=3;
function abc()=...;
</code>
Assigning <code style="font-size:13px;">abc</code> to a parameter, if possible, will be confusing:
<code style="font-size:13px;">
x = abc; // function or parameter?
</code>
A possible way out of this is like what Visual Basic does:
<code style="font-size:13px;">
x = something; // assign parameter
<b>set</b> x = something; // assign object
</code>
That is, <b>set</b> for object assignment. In openscad, could be function or module assignment. Not sure how expensive it is though.
</pre>
<div class="yiv4385900183signature" style="margin-top:1em;color:#666666;font-size:11px;">
<div style="color:darkkhaki;">
<a href="" class="removed-link" rel="nofollow" target="_blank">$</a> <u>Runsun
Pan, PhD</u> <br>
$ -- <b>OpenScad_DocTest</b>: doc and unit test ( <a href="" class="removed-link" rel="nofollow" style="color:darkkhaki;" target="_blank">Github</a>, <a href="" class="removed-link" rel="nofollow" style="color:darkkhaki;" target="_blank">Thingiverse</a>
)<br>
$ -- <b>hash parameter model</b>: <a href="" class="removed-link" rel="nofollow" style="color:darkkhaki;" target="_blank">here</a>, <a href="" class="removed-link" rel="nofollow" style="color:darkkhaki;" target="_blank">here</a><br>
$ -- <u>Linux Mint 17.1 Rebecca x64</u> + <u>OpenSCAD
2015.03.15</u>/<u>2015.04.01.nightly</u><br>
</div>
</div>
<br>
<hr align="left" width="300">
View this message in context: <a href="" class="removed-link" rel="nofollow" target="_blank">Re:
eval( ) ???</a><br>
Sent from the <a href="" class="removed-link" rel="nofollow" target="_blank">OpenSCAD mailing list archive</a>
at Nabble.com.<br>
<br>
<fieldset class="yiv4385900183mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
OpenSCAD mailing list
<a href="" rel="nofollow" class="yiv4385900183moz-txt-link-abbreviated removed-link" ymailto="mailto:Discuss@lists.openscad.org" target="_blank">Discuss@lists.openscad.org</a>
<a href="" rel="nofollow" class="yiv4385900183moz-txt-link-freetext removed-link" target="_blank">http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org</a>
</pre>
<br>
<fieldset class="yiv4385900183mimeAttachmentHeader"></fieldset>
<br>
<div class="yiv4385900183" align="left">No virus
found in this message.<br>
Checked by AVG - <a href="" class="removed-link" rel="nofollow" target="_blank">www.avg.com</a><br>
Version: 2015.0.5863 / Virus Database: 4342/9758 - Release Date:
05/12/15</div>
</blockquote>
<br>
</div>
</div><br>_______________________________________________<br>OpenSCAD mailing list<br><a href="" class="removed-link" ymailto="mailto:Discuss@lists.openscad.org">Discuss@lists.openscad.org</a><br><a href="" class="removed-link" target="_blank">http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org</a><br><br><br></div> </div> </div> </div></div></body></html>