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
|