Difference between revisions of "MODIFY COMMAND"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Terminal Developer Development Tools
 
 
 
 
==Purpose==
 
==Purpose==
 
Execute a text editor to edit program files
 
Execute a text editor to edit program files
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[ED]], [[TEXTEDIT()]], [[VI]]
+
[[ED]], [[SET TEDIT]], [[TEXTEDIT()]], [[VI]]
  
  
Line 18: Line 14:
 
MODIFY COMMAND provides the facility to create or modify program files and other text files.  The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename.  If no file extension is present in the file name, then '.prg' is used.
 
MODIFY COMMAND provides the facility to create or modify program files and other text files.  The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename.  If no file extension is present in the file name, then '.prg' is used.
  
The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS.  You may override these defaults using the SET TEDIT TO command.
+
The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS.  You may override these defaults using the SET TEDIT command.
  
 
MODIFY COMMAND is a synonym of the ED and VI commands.
 
MODIFY COMMAND is a synonym of the ED and VI commands.
Line 32: Line 28:
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Terminal Development Tools]]
 
[[Category:Terminal Development Tools]]
 
[[Category:Terminal Development Tools Commands]]
 
[[Category:Terminal Development Tools Commands]]

Latest revision as of 15:27, 12 November 2009

Purpose

Execute a text editor to edit program files


Syntax

MODIFY COMMAND <prg filename> | (<expC>)


See Also

ED, SET TEDIT, TEXTEDIT(), VI


Description

MODIFY COMMAND provides the facility to create or modify program files and other text files. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is present in the file name, then '.prg' is used.

The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS. You may override these defaults using the SET TEDIT command.

MODIFY COMMAND is a synonym of the ED and VI commands.


Example

modify command myprogram
ed myprogram
vi myprogram


Products

Recital