Morrowind Mod:XFileReadString
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
A function added by MWSE.
xFileReadString is similar to xFileReadShort but reads a single 'C'-style NUL ('\0') terminated string from the file. If a string cannot be read it returns a 0.
Syntax[edit]
text (string): xFileReadString filename (string)
Example[edit]
long string setx string to xFileReadString "filename"
See Also[edit]
xFileRewind
xFileSeek
xFileReadText
xFileWriteText
xFileReadShort
xFileReadLong
xFileReadFloat
xFileWriteShort
xFileWriteLong
xFileWriteFloat
xFileWriteString