FAQ Cast3M
How can I output a formated file with several columns ?
This work is almost done within the @excel1 procedure. You needs to modify the
ligne calling MESSAGE operator.
linking CHAI and MESSAGE operator it is easy to get the desired printing.
ex :
pp = prog 1. pas 0.1 1.9;
repeter bou 5;
p1= extr pp (&bou* 2 - 1);
p2= extr pp (&bou* 2) ;
mm= chai 'ligne number ' &bou 'FORMAT' '(e15.8)' p1 ' second '
'FORMAT' '(e12.5)' p2;
mess mm;
fin bou;
leads to
ligne number 1 0.10000000E+01 second 0.11000E+01
ligne number 2 0.12000000E+01 second 0.13000E+01
ligne number 3 0.14000000E+01 second 0.15000E+01
ligne number 4 0.16000000E+01 second 0.17000E+01
ligne number 5 0.18000000E+01 second 0.19000E+01
Return to the Faq