POV-Ray : Newsgroups : povray.general : Can a macro accept text parameters? : Re: Can a macro accept text parameters? Server Time
31 Jul 2024 16:22:02 EDT (-0400)
  Re: Can a macro accept text parameters?  
From: kurtz le pirate
Date: 16 Nov 2006 10:30:43
Message: <kurtzlepirate-9CA033.16304216112006@news.povray.org>
In article <455c525f$1@news.povray.org>,
 "Sven Littkowski" <sve### [at] jamaica-focuscom> wrote:

> I had a problem with my macro: it seems, macros don't accept string 
> parameters, only numerical values. Is that true?


it's false !

try this :

#macro displayText (thisText)
  #debug concat(thisText",\n")
#end

displayText("Hello !")

you must see "Hello !" in the message window.



> i am using the latest beta version.

and with the latest official version ?



-- 
klp


Post a reply to this message

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