POV-Ray : Newsgroups : povray.newusers : passing file names in macros : Re: passing file names in macros Server Time
5 Nov 2024 03:16:59 EST (-0500)
  Re: passing file names in macros  
From: Chris Huff
Date: 10 Jan 2001 18:28:50
Message: <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.