XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ WriteCsv2()

Sub WriteCsv2 ( FName As  String,
N As  Long,
X() As  Double,
Y() As  Double,
U() As  Double,
Info As  Long 
)

Write coordinates and their values to CSV file (2D) [Experimental version]

Purpose
Write two dimensional coordinates and their values to the CSV file.
Parameters
[in]FnameOutput file name.
[in]NNumber of points.
[in]X()Array X(LX - 1) (LX >= N)
X coordinates of points.
[in]Y()Array Y(LY - 1) (LY >= N)
Y coordinates of points.
[in]U()Array U(LU - 1) (LU >= N)
Values at the points.
[out]InfoReturn code.
= 0: Normal return.
= i < 0: The (-i)-th argument is invalid or has an illegal value.
= 11: File open error.