LumpReadString: Difference between revisions
Update specifications on failure
m (Fix return type) |
(Update specifications on failure) Tag: Source edit |
||
Line 16: | Line 16: | ||
Note the string returned might have a shorter length than what is specified by the ''length'' parameter, should the end of the file be reached. | Note the string returned might have a shorter length than what is specified by the ''length'' parameter, should the end of the file be reached. | ||
The function returns an empty string when called on a lump that was not opened with <tt>[[LumpOpen]]</tt>, alongside a console message. | |||
==Examples== | ==Examples== |