A collection of file objects in a project.
The files collection consists of all the files in a project. Each file is an object that can be manipulated with the file object properties and methods.
Files in a file collection can be referenced by index number or name. For example, the following code opens the file that was first added to a project:
The following code opens an editing window for Main.prg:
Note that it isn't necessary to include the path with a file name.