[Gambas-bugtracker] Bug #1696: Write of a string[] to a MEMORY FILE only save or reads first element, lof() always returns zero on memory file

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Dec 15 09:12:20 CET 2019


http://gambaswiki.org/bugtracker/edit?object=BUG.1696&from=L21haW4-

Comment #1 by Benoît MINISINI:

Of course, your computation of binary storage length is false.

Object.SizeOf() on any array will return 40 on a 64 bits system, the contents of the array being stored somewhere else. If you want to write anything, you have to rely on serialization only (READ and WRITE), not on your own guesses.




More information about the Bugtracker mailing list