POV-Ray : Newsgroups : povray.advanced-users : Bug with defined() ? : Re: Bug with defined() ? Server Time
29 Jul 2024 10:30:22 EDT (-0400)
  Re: Bug with defined() ?  
From: Tim Nikias
Date: 4 Aug 2002 13:59:41
Message: <3d4d6b8d@news.povray.org>
Thanks for both answers, I'll check what you mentioned
and reply sometime later again...

Regards,

Tim

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde
"Simon Adameit" <gom### [at] gmxde> schrieb im Newsbeitrag
news:3d4d5bfd@news.povray.org...
>
> "Tim Nikias" wrote:
> > When attempting to read an empty file (the file is
> > there, but containing not a single character)
> > like this:
> > #read (File, _PreviouslyUndeclared)
> >
> > I'd expect defined(_PreviouslyUndeclared) to return
> > false.
> > It doesn't.
>
> _PrevioslyUndeclared is defined but it is not initialised (Did I use the
> right words?)
>
> > If I check the file before any reading with defined(File),
> > I get a true, after attempt to read, I get false, but
> > not only when the file is empty, but also when reading
> > the last data.
> >
> This does only happen when you dont have a comma behind the last data
item.
>
> >
> > So. Is this really what I should expect?
> >
>
> ?
>
>


Post a reply to this message

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