File.writeDelim - start at 2nd line?


Rodney
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share