Jump to content

Writing to a file


Recommended Posts

Posted

I want to upload certain strings to a file to keep the data for each item I am testing. I am able to store things like time/date/item number in the file no problem. The issue comes trying to write a hex value to the text file. I get it is a text file so it is going to read the hex values as text. Is there a way to work around this where I can store both normal and hex values without anything being changed?

 

Posted

if you are mixing normal string and Hex, I would suggest to save a string, then  read as string then find the hex number convert it back to Hex. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.