Difference between revisions of "MODIFY COMMAND"

From Lianjapedia
Jump to: navigation, search
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Execute a text editor to edit program files
+
Open the Script Editor to edit program or other text files
 
+
  
 
==Syntax==
 
==Syntax==
MODIFY COMMAND <prg filename> | (<expC>)
+
MODIFY COMMAND <filename> | (<expC>)
 
+
  
 
==See Also==
 
==See Also==
[[ED]], [[SET TEDIT]], [[TEXTEDIT()]], [[VI]]
+
[[MODIFY FILE]], [[MODIFY LIBRARY]]
 
+
  
 
==Description==
 
==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.
+
MODIFY FILE opens the Script Editor in the Apps workspace 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==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
modify command myprogram
+
modify command myprg
ed myprogram
+
modify command myjs.js
vi myprogram
+
 
</code>
 
</code>
  
 
==Products==
 
Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Terminal Development Tools]]
 
[[Category:Terminal Development Tools Commands]]
 

Latest revision as of 04:53, 4 August 2016

Purpose

Open the Script Editor to edit program or other text files

Syntax

MODIFY COMMAND <filename> | (<expC>)

See Also

MODIFY FILE, MODIFY LIBRARY

Description

MODIFY FILE opens the Script Editor in the Apps workspace 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.

Example

modify command myprg
modify command myjs.js