Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Creating a File Object

  • Last UpdatedJan 08, 2024
  • 1 minute read

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 (‘%PDMSUSER%\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.

Related Links
TitleResults for “How to create a CRG?”Also Available in