Home page  
Help >
DDL Command FILE
Version 7.11
DDL Command FILE FILE

View and/or edit an existing file (Form 2), or create a new file (Form 1).

Form1:
FILE NEW filename

Form2:
FILE OLD filename

Notation standards Options Answers

Options:
E -On error, do not terminate the procedure
O -The file is a pure text ASCII file
R -(Form 2 only) Open the file read-only
X -Suppress the command response
Y -Do not alter the command answer cells

Answers:
Ctl.Ans1 =Zero
Ctl.Ans2 =Zero
Ctl.Ans3 =Zero .

Notes:
The filename argument can be a full-path name. If not, the current directory is assumed.

If you are creating and/or editing a CONFIG file or any .BAT or script files you must be sure to use the O option. These kinds of files must be pure ASCII text, they cannot be graphical or word processing files. The O option on the FILE command makes the Editor behave like a pure text-only editor.

Use of the E option means if an error occurs, do not print an error message and do not terminate the current procedure. The application must check the %status variable to determine success or failure.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.