POV-Ray : Newsgroups : povray.general : Question About Macros : Re: New Question About Macros Server Time
11 Aug 2024 05:21:32 EDT (-0400)
  Re: New Question About Macros  
From: Peter Popov
Date: 15 Oct 1999 19:59:03
Message: <5b4HOLotDFFgNtLxSR95L611=ciA@4ax.com>
On Fri, 15 Oct 1999 18:47:23 -0500, Chris Huff
<Chr### [at] compuservecom> wrote:

>I think you meant this:
>#macro parse (string)
>  #fopen file "parsetmp.inc" write
>  #write (file, string)//<-----change "result" to "string"
>  #fclose file
>  #include "parsetmp.inc"
>#end
>
>This macro may be *very* handy. Thanks! :-)

Sorry about the typo. The original macro, which I used to make
previews of all textures in Stones.inc, had two parameters - a string
and a number, and a local string variable "result" which equalled
concat ( string, str(number,0,0)). Thank you for correcting the typo,
Chris!


Peter Popov
ICQ: 15002700


Post a reply to this message

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