| VF_nwrite | VD_nwrite | VE_nwrite |
| VCF_nwrite | VCD_nwrite | VCE_nwrite |
| VPF_nwrite | VPD_nwrite | VPE_nwrite |
| VI_nwrite | VBI_nwrite | VSI_nwrite | VLI_nwrite | VQI_nwrite |
| VU_nwrite | VUB_nwrite | VUS_nwrite | VUL_nwrite | VUI_nwrite |
|
| Function | Write vectors as the columns of a table into a stream. |
|
| Syntax C/C++ | #include <VFstd.h>
void VF_nwrite( FILE *stream, unsigned n, ui size, ... ); |
| Pascal/Delphi | uses VFstd;
procedure VF_nwrite( var stream:Text; VecList:^fVector; n:UInt; size:UInt ); |
|
| Description C/C++ | n vectors are written in ASCII format as the columns of a table into stream. The number of lines is given by the number of elements of each vector: size.
The default format and separation may be changed using VF_setWriteFormat and VF_setNWriteSeparate, respectively. |
| Example C/C++ | VF_nwrite( DataFile, 3, 100, X, Y, Z );
/* generates a table with 3 columns and 100 lines;
the columns are given by X, Y and Z. */ |
| Pascal/Delphi | n vectors, passed as the list VecList, are written in ASCII format as the columns of a table into stream. The number of lines is given by the number of elements of each vector: size.
The separation character(s) between columns may be changed using VF_setNWriteSeparate. By default, it is a tab character (#9).
Please note that the Pascal version of these functions does not allow a free definition of the output format. Therefore, the function VF_setWriteFormat does not exist in the Pascal/Delphi version. |
|
|
|
|