> #while (defined(SplnFile))
> #read (SplnFile, Rv[cnt-1]) //*<-- fail point, read into an array fails
> #declare cnt = cnt + 1; // why must it be undeclared?
> // how do I fix it so the #while statement
> #end // reads it?
i had the same problem a couple of times. when i remember right something
like this should work:
#while (defined(SplnFile))
#read (SplnFile, value)
#declare Rv[cnt-1] = value;
#declare cnt = cnt + 1;
#end
where value is an undefined identifier.
can't test it in the moment. rendering... ;-)
Hope that helps
Regards Roman
Post a reply to this message
|