Request: CTYPE and CARRAY

BlitzMax Forums/BlitzMax Programming/Request: CTYPE and CARRAY

varptr gives you the pointer to an object as well.

WriteBinary varptr HighScoreRecord, sizeof(HighScoreRecord) 


would theoretically work.
The only problem with that is that arrays in objects are not inline in BM, so the only thing you would get for Initials is its reference / ptr.


But how this should affect the loading times? Don't see the point there, as it is only making a difference in the loading code.


Again: this is not C or C++. Most examples to show are C/C++ that don't work in any other language so I don't see the point in forcing in that direction ...
Just because C does it this way it must not be a good thing.
Creating a module for squencial fileaccess for example would be a solution as well (greetings from VB for example).

Perhaps freeing the mind from C and looking for all solutions??