PML Customisation User Guide

Handling Files and Directories : Reading and Writing ARRAYS
You will obtain much quicker performance if you read or write an entire array in a single operation. In particular you are recommended to use the ReadFile() method which returns the whole file as an array of strings, opening and closing the file automatically:
Note:
With the ReadFile() method you may optionally specify the maximum number of lines you are prepared to read and an error is raised if this number is exceeded. If not specified, a limit of 10000 is imposed.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo