|
![](/i/fill.gif) |
Felix Wiemann <Fel### [at] gmx net> wrote:
> Where's the problem with concat?
Have you tried just enclosing the string in parentheses?
>> #macro clonestring(String)
>> #local tmpString = String
>> tmpString
>> #end
> Is much longer. So not better but worse.
Perhaps you should learn some basics of (modular) programming.
"It's much longer" is a really poor excuse for making bad code.
You have to write one #local more - so what? The alternative is to write
an extra 'concat()' several times, which makes the code quite obfuscated
and longer.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |