Jump to content

Create a header in an SD card file


Recommended Posts

  • MVP 2023

Is there a way to tell if a file exists on an SD card before calling Write Delimited line?  I want to write a header in the first line before I start filling a file with data that someone may or may not recognize.

In the past I've manually triggered a Write Line that had the header text, but this seems hokey.

Joe T. 

Link to comment
Share on other sites

  • MVP 2023

So it worked out mostly ok?  In reading the help file my interpretation was that Bit 2 would be ON if the file wasn't found.  Just confirming that you're finding that it is OFF with no file name match, and ON with file present?

Maybe the nulls are some sort of maximum?  256 characters in total?

I haven't time to play with this at present, but am curious about it for future reference.

cheers,

Aus

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.