POV-Ray : Newsgroups : povray.beta-test : the read-directive : the read-directive Server Time
17 May 2024 14:15:10 EDT (-0400)
  the read-directive  
From: MichaelJF
Date: 17 Oct 2012 11:05:00
Message: <web.507ec85edee61c091dce822d0@news.povray.org>
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?

Best regards,
Michael


Post a reply to this message

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