Data File Handling
The topics described here define operations performed on data files as files. The process of writing a complete data file with commands is covered in the section on the i Editor pane — which is designed for that purpose.
Create
Use the menu command Ctrl + N
). This will open an Add New Data File dialog opened to the current project file’s folder. Specify a file name and press the Open button in this dialog to open the newly created file in an i Editor pane.
Open or Call
Files not in the Project
Use the menu command Ctrl + O
). In the ensuing i Open Into Project dialog, navigate to and select the desired file. Use the option buttons at right to indicate whether the data file selected should be opened (simply loaded into an Editor pane) or called (loaded and executed). If the dialog’s default “Determine by extension” option is used, the data file will be opened (not called). Data files opened this way are added to the project.
Files in the Project
The method above will work for files already in the project. However, a simpler method for opening data files within the project is to use the i Project pane. Double click the data file on the “Data Files” list to open; right-click and choose “Call” to open and execute.
Also review the command program call
, which can be used to call a data file at the Console’s command prompt.
Rename
- With the pane containing the data file active, use the menu command , ([filename] is the name of the file, which will be shown on the menu).
- If part of a tab set, right-click the tab for the file and pick from the context menu.
Renaming this way with either technique ensures that the file will remain connected to the project. If renamed outside the program (for instance, in the system’s default file browser), the project’s link to the file will be broken.
Duplicate
- With the pane containing the data file active, use the menu command , ([filename] is the name of the file, which will be shown on the menu).
Close
- With the pane containing the data file active, use the menu command , ([filename] is the name of the file, which will be shown on the menu).
- If part of a tab set, right-click the tab for the file and pick from the context menu.
- In the project pane, right-click on the file in the “Data Files” list and pick
- With the pane containing the data file active, press the “close” button ( || ) on the toolbar.
- With the pane containing the data file active, use the menu command , ([filename] is the name of the file, which will be shown on the menu).
Un-hide
- Go to the window and select the item (which will be unchecked) to show it.
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |