I have an old program that write some pascal record into file :
type
Character = Record
Name : String[50];
Age : integer;
end;
begin
// [..] data contain a Character record
AssignFile(f, data); // example
Write(f, data); // example
CloseFile(f) // example
end.
Is it possible to open this file and read record from another language like C, C++, Go ?
Thank you.
integeris for your Pascal compiler (presumably Delphi, from the tags you've given the question). - Jeff ZeitlinIntegeris 32 bits. (IIRC, that has been the case since Delphi 2, released in 1996. The size is 32 bits in both 32-bit and 64-bit applications.) - Andreas Rejbrand