Open main menu

UESPWiki β

Morrowind Mod:XFileReadString

< 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.

SyntaxEdit

text (string): xFileReadString filename (string)

ExampleEdit

long string
setx string to xFileReadString "filename"

See AlsoEdit