POV-Ray : Newsgroups : povray.beta-test : the read-directive : Re: the read-directive Server Time
1 Jun 2024 14:24:13 EDT (-0400)
  Re: the read-directive  
From: clipka
Date: 22 Oct 2012 13:56:23
Message: <508588c7$1@news.povray.org>
Am 17.10.2012 17:01, schrieb MichaelJF:
> Hello,
>
> for the first time I tried to use the read-directive and was heavily
> disappointed as I noticed that you can nearly write everything to a file, but
> are very restricted to read from a text-file. If one would have a directive like
> readln in c or c++ which reads a line from a file into a string one could build
> parsers only with the existing string-functions (o.k. some more convient ones
> would be fine, but the existing like strlen, strcmp or concat are enough to
> build macros for text exchanges, substring-detection and so on). So my question
> is simple: Is it possible to implent such a feature without too much effort?

Yes, it is possible. I've recently coded a patch that would allow this, 
but it won't be in 3.7 because we're way past feature freeze for the 
release.


Post a reply to this message

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