Software Customisation Guide

Handling Files and Directories : Reading and Writing ARRAYS
The user will obtain much quicker performance if they read or write an entire array in a single operation. In particular the user is 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 the user may optionally specify the maximum number of lines they 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