|
![](/i/fill.gif) |
Can somebody explain to me why the following code is halting at the second
read. If I combine the first 2 reads then it fails on the last (third) read.
Error message ...."file identifier expected but undeclared identifier
NB_File found instead"
Typical data line:
5,-5,<331530,4711404,0>, <331493,4711406,0>, <331513,4711428,0>,
<331536,4711408,0>, <331530,4711404,0>,
#fopen NB_File "Build.dat" read // #while (defined(NB_File))
#read (NB_File,Num)
#read (NB_File,Elev)
prism
linear_sweep
linear_spline
(Elev+5),(Elev+30)
Num
#local i=0;
#while (i<Num)
#read (NB_File, Vec)
Vec
#local i=i+1;
#end
pigment {color Red} }
#end
Post a reply to this message
|
![](/i/fill.gif) |