|
![](/i/fill.gif) |
"James" <hy5### [at] hanmail net> wrote:
> Hi!
>
> With your help, I made program to draw spheres of 1000 in 3D box. But,I got
> error message (" Parse error: Expected 'numeric expression', Undeclared
> Identifier 'var1' found"). I could not fix this problem. Could you help me?
....
> #fopen MyFile "position1.txt" read
> #while (defined(MyFile))
> #read (MyFile,Var1,Var2,Var3)
>
> sphere {
> <var1, var2, var3>, 1
> texture {
> pigment { color Yellow }
> }
> }
>
> #end
....
Try <Var1, Var2, Var3> instead of <var1, var2, var3>.
Variable names are case sensitive.
--
Tor Olav
http://subcube.com
Post a reply to this message
|
![](/i/fill.gif) |