POV-Ray : Newsgroups : povray.beta-test : [doc] concat with one parameter : Re: [doc] concat with one parameter Server Time
29 Jul 2024 10:18:05 EDT (-0400)
  Re: [doc] concat with one parameter  
From: Warp
Date: 22 May 2002 09:53:48
Message: <3ceba2ec@news.povray.org>
Felix Wiemann <Fel### [at] gmxnet> wrote:
>>   Have you tried just enclosing the string in parentheses?

> What do you mean? Enclose the variable name in parentheses?

  I said "string", not "variable name".

  When you call your macro, do: MyMacro(("The string"))

>>   Perhaps you should learn some basics of (modular) programming.
>>   "It's much longer" is a really poor excuse for making bad code.

> Hmmm... The SDL is actually not very modularized.

  That doesn't mean you shouldn't make your code as modular as the language
allows.

-- 
#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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.