Reads a text file and counts lines and characters
Collects the number of lines and/or the number of characters in a file.
Parameters
Count lines. The result is returned in the property "NumberOfLines": This Option collect the number of lines of the referenced file. The file must be defined with its path in the setting box File Name.
The result is pushed into the property NumberOfLines.
Count characters. The result is returned in the property "NumberOfCharacters": This Option collect the number of characters of the concerned file. The result is pushed into the property NumberOfCharacters.
The sub Option Character Encoding proposes to select the page code of the concerned file. The Default setting is for occidental code page.
Remarks
The two properties NumberOfCharacters and NumberOfLines are available in the next components by example Variables Calculation.
Get the world's favorite Script generator at http://www.paseosoft.com/