> The result script (below) is working, however, I would like put these
> results in table format in "txt" "cvs" or "xBase". Any idea how to
> output these results into a file in "txt", "cvs" or xBASE rather
> displaying it screen. Just one file with headers like this...

> Period Ave_Age  Total_Vol Total_Cut_Vol  Carbon_Stand  Carbon_HWP
> 1
> 2
> .
> .
> 70

> for {p in 1..Numyear} {
> printf ' %2s %10.2f %10.2f %15.2f %15.2f %15.2f %15.2f %15.2f\n', p,
> ......

> Putting at the end .....* 0.45 * 3.6667 else Yield[i,Maxyear]* 0.45 *
> 3.6667)} > "result.txt";
> }

> This one does not work only one line will be output as txt file

> Any ideas how to do this??

Use '>>' (append) rather than '>'.



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to