Description
Read a line in a file
Syntax
File_GetLineString(sFile, iLineNumber, bMustExist) As Boolean
Parameters
sFile (String)
Filename
...
Result will be stored in gsValue
Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
If bStatus Then bStatus = File_GetLineString("C:\CapaInstaller.txt", 1, True) bStatus = Job_Writelog("Custom", "First line in win.ini: " & gsValue, bStatus, True) |