Goal (excuse the non-technical terms, I will post picture and script to help ) :
- read a file, binary format (you can use a JPG for testing) - FileOpen - $FO_BINARY (16) = Force binary mode
- split the file in hex numbers, each represented by 2 characters
- store everything in a simple 1D array
Picture:
- left side = Total Commander (either Compare files operation or View > Hex)
- right side = _ArrayDisplay..... it is identical, so the output is perfect
Pr
That IS the real purpose.
Read 2 files, same size, very similar content.
Find differences between files, extract those differences (from file 2, position and value).
Put those differences in another file.
Just like Total Commander > Compare files, but instead of showing the differences, extract & save them.