Difference between revisions of "MODIFY COMMAND"

From Lianjapedia
Jump to: navigation, search
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Execute a text editor to edit program or other text files
+
Open the Script Editor to edit program or other text files
  
 
==Syntax==
 
==Syntax==
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[ED]], [[MC]], [[MODIFY FILE]], [[VI]]
+
[[MODIFY COMMAND]], [[MODIFY FILE]]
  
 
==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.
 
+
MODIFY COMMAND is a synonym of the ED, MC, MODIFY FILE and VI commands.
+
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
modify command myprogram
+
modify command myprg
ed myprogram
+
modify command myjs.js
mc myprogram
+
modify file myprogram
+
vi myprogram
+
 
</code>
 
</code>
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]

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 COMMAND, MODIFY FILE

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