Synopsis
edit(file, editor, async)
Description
This command starts a shell to edit a file.
It can only be used in a GUI environment. An editor like vi should
not be used, because it does not start up in a separate window.
The shell may be synchronous or asynchronous (default). Use the
synchronous option if the file is needed immediately.
The default editor is emacs.
Example
dos.edit ('file.cc');
Arguments
| file |
in |
file to be edited |
| |
|
Allowed: |
string |
| editor |
in |
editor to be used |
| |
|
Allowed: |
string |
| |
|
Default: |
emacs |
| async |
in |
Run asynchronously |
| |
|
Allowed: |
boolean |
| |
|
Default: |
T |