File.writeDelim - start at 2nd line?


Rodney

Recommended Posts

Is there a way to write an array out so it skips the 1st line(it holds the headings)

As per the user guide you can do it when you read the file by File.Read(handle) below

File.ReadDelim(handle, index, parse by, eol character, number of lines, [string]): This function allows the
rapid reading of a delimited file such as the common files generated by DAQFactory logging sets. Parsing begins at
the current file location, so if you have a header line, simply do File.Read(handle) to read the first line, putting the
file location at the beginning of the second lineI can skip the 1st line in read

is there an equivalent for File.writeDelim ie set the pointer at the start of line 2 before writing the data?

Rodney

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.