Im trying to read a file created in blitz using writestring (and others) and this seems impossible as i need to specify the size of the string to be read?!?
Im guessing theres a few bytes before the string to tell you how big?
if so what is the type of the predata of a string in a file to tell how long the string is? Byte? Word? int?
ie
stlen=read????(file)
mystring=readstring(file,stlen)
Im guessing theres a few bytes before the string to tell you how big?
if so what is the type of the predata of a string in a file to tell how long the string is? Byte? Word? int?
ie
stlen=read????(file)
mystring=readstring(file,stlen)