PReadFile
From GECK
A function added by the pp NVSE Plugin.
Contents
Description
Works like ReadArrayFromFile, but instead reads every line as a string, and puts it into an array. An optional start and end line may be specified.
Syntax
(array_var) pReadFile FilePath:string StartLine:int EndLine:int
Example
pReadFile "Data\NVSE\plugins\NVWO_Templates\WeaponAttachments\WAP_AttachmentGlobals.ini" 0 5
Reads the first 5 lines of WAP_AttachmentGlobals.ini
pReadFile "Data\NVSE\plugins\NVWO_Templates\WeaponAttachments\WAP_AttachmentGlobals.ini"
Reads all the lines of WAP_AttachmentGlobals.ini