Forum > General

File Handling In Pascal Binary Files Wiki Needs Work

<< < (3/3)

flywire:

--- Quote from: eny on March 06, 2015, 03:09:48 pm ---Done.

--- End quote ---

Just ran program ReadBinaryDataInMemoryForAppend because I need to.


--- Code: ---    // Write some arbitrary data to the memory stream
    msApp.WriteByte(68);
    msApp.WriteAnsiString('Some extra text');
    msApp.WriteDWord(671202);
--- End code ---

When I first looked at the result in Hex I thought it was screwed up but then I realised that this demo is really informative, especially in little endian. Well done.

Navigation

[0] Message Index

[*] Previous page

Go to full version