what would be the eqivalent of thsi blitz3d to bli

BlitzMax Forums/BlitzMax Beginners Area/what would be the eqivalent of thsi blitz3d to bli

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

	levdat$=ReadFile("config.cfg")
	If fileType(levdat$)=1
		levelsetname$=ReadString$(levdat)
		level=ReadByte(levdat)
		CloseFile(levdat)

	endif
	levdat$=WriteFile("config.cfg")
	WriteString(levdat$,levelsetname$)
	WriteByte(levdat$,level)
	CloseFile(levdat)



is it something to do with streams now?