PML Customisation
User Guide
Handling Files and Directories
: Creating a File Object
Creating a File Object
A file object is created by invoking the
FILE
constructor with the name of the file as its argument. For example:
!MyFile = object FILE (‘c:\users\bob\list.txt’)
!MyFile = object FILE (/net/usr/bob/list’)
!MyFile = object FILE (‘%AVEVA_DESIGN_USER%\bob\list.txt’)
At this stage, the file may or may not exist — creating the
FILE
object does not open or access the file in any way.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.