POV-Ray : Newsgroups : povray.binaries.images : Reading in code line by line? : Re: Reading in code line by line? Server Time
30 Jul 2024 10:22:22 EDT (-0400)
  Re: Reading in code line by line?  
From: Thomas de Groot
Date: 17 Dec 2011 07:47:14
Message: <4eec8f52$1@news.povray.org>
On 17-12-2011 13:42, Thomas de Groot wrote:

> #while (defined(your text file))
> #read (....)
> ....
> #end
>
> and apply each read text item to where/what you intend. Reading will
> automatically stop when reaching the end of the file.
>

I probably should have written this better as:

  #while (defined(your text file))
  #read (....)
    ....
    apply each read text item to where/what you intend. Reading will
    automatically stop when reaching the end of the file.
    ....
  #end



Thomas


Post a reply to this message

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