B+ and BMax file system compatibility

BlitzMax Forums/BlitzMax Beginners Area/B+ and BMax file system compatibility

Hey, I have a game engine being written in BlitzMax, the editor to go with said engine however is being written in Blitz+

One of the editors functions outputs a data file that should then be read by the engine, the data file contains both int and string variables

Max is able to read the ints from + just fine, however there is an issue when it comes to the strings

What I need to know is: should a string variable written to a file with B+ then be readable by BMax, or does the problem with the system lie elsewhere in my code?

Not tested, but I think this'll do it...
Function RetroReadString:String(Stream:TStream)
	Local size:Int = ReadInt(Stream)
	Return ReadString(Stream,Size)
EndFunction


ty, I'll have a test

Ok, it worked, ty very much