POV-Ray : Newsgroups : povray.bugreports : unexpected end of file : unexpected end of file Server Time
28 Sep 2024 11:01:52 EDT (-0400)
  unexpected end of file  
From: ingo
Date: 27 Sep 1998 18:22:44
Message: <360eaca4.0@news.povray.org>
When I render the scene given below, I get the error message "unexpected end
of file". This only happens when there comes  absolutely nothing after
"#end". As soon as I put in a space or a new line the scene will render.

POV-ray for windows 3.1 r1
WinNT 4 & SP3
PII 233 64mb

regards,
ingo


#include "colors.inc"

light_source {
  <0, 500,-500>
  color rgb <1, 1, 1>
}

camera {
    location  <0.0, 1.0, -2.0>
    look_at   <0.0, 1.0, 0.0>
    angle 90
}

#declare Count= -2;
#while (Count<=2)
    cylinder {
        <0,0,0>,<0,2,0>,0.02
        translate <Count,0,0>
        texture {
            pigment {color White}
            finish {diffuse 1}
        }
    }
    #declare Count= Count+0.5;
#end


Post a reply to this message

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