|
![](/i/fill.gif) |
Thomas de Groot schrieb:
> Also you can
> simplify your define as you do not need the #if statement. Just write:
>
> #while (defined(inputfile))
> #declare x1 = y1;
> #declare x2 = y2;
> #declare x3 = y3;
> #read (inputfile, y1, y2, y3)
> ....
> ....
> #write (outputfile, x1,", ", x2,", ", x3,",","\n")
> ....
> #end
I guess without the pre-read this will cause a parse error, as y1,y2,y3
will be undefined at this point.
Post a reply to this message
|
![](/i/fill.gif) |