next up previous contents
Next: 2.17 functions Up: 2. General commands Previous: 2.15 fopen

2.16 fput

fput <p1>,<p2>, ..


This command allows one to write data to a file. The parameters <pi> can either be variables and expressions or simple text enclosed in single quotes. If no parameters are given, an empty line is written.

Examples:  fput i[1],sqrt(1.0+i[1]*0.01)
           fput 'Current value of i[1] : ',i[1]


Thomas Proffen {Billinge}
1999-07-20