POV-Ray : Newsgroups : povray.newusers : passing file names in macros : Re: passing file names in macros Server Time
5 Sep 2024 12:23:25 EDT (-0400)
  Re: passing file names in macros  
From: Mick Hazelgrove
Date: 11 Jan 2001 02:37:47
Message: <3a5d62cb@news.povray.org>
That simple eh! no wonder I couldn't get it to work!

Mick

"Chris Huff" <chr### [at] maccom> wrote in message
news:chrishuff-D298C0.18303110012001@news.povray.org...
> In article <3a5cec15@news.povray.org>, "Mick Hazelgrove"
> <mic### [at] mhazelgrovefsnetcouk> wrote:
>
> > Is it possible to pass the name of an image_map as a macro parameter?
> > if so how? I've spent hours on this and just can't see how to do it.
> > Strings were never my strongest point.
>
> #macro Macro(FileName)
>     image_map {xxx FileName ...}
>     ...
> #end
>
> Macro("MyFile.xxx")
>
> --
> Christopher James Huff
> Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
>
> <><


Post a reply to this message

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