POV-Ray : Newsgroups : povray.beta-test : Parse_string() in strings.inc Server Time
31 Jul 2024 06:14:07 EDT (-0400)
  Parse_string() in strings.inc (Message 1 to 2 of 2)  
From: Nikodemus Siivola
Subject: Parse_string() in strings.inc
Date: 9 Sep 2001 18:14:51
Message: <3b9be9db@news.povray.org>
Is:

#macro Parse_String(String)
    #fopen FOut "parse_string.tmp" write
    #fwrite(String)
    #fclose FOut
    #include "FOut"
#end

Should be:

#macro Parse_String(String)
    #fopen FOut "parse_string.tmp" write
    #fwrite(String)
    #fclose FOut
    #include "parse_string.tmp"
#end

  -- Nikodemus


Post a reply to this message

From: Rune
Subject: Re: Parse_string() in strings.inc
Date: 9 Sep 2001 18:35:09
Message: <3b9bee9d@news.povray.org>
"Nikodemus Siivola" wrote:
> Is:
>
> #macro Parse_String(String)
>     #fopen FOut "parse_string.tmp" write
>     #fwrite(String)
>     #fclose FOut
>     #include "FOut"
> #end
>
> Should be:
>
> #macro Parse_String(String)
>     #fopen FOut "parse_string.tmp" write
>     #fwrite(String)
>     #fclose FOut
>     #include "parse_string.tmp"
> #end

Funny, I just fixed this before I saw your post...

Actually the line #fwrite(String) should be #write(FOut,String) if I'm not
mistaken.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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