Difference between revisions of "MODIFY COMMAND"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Execute a text editor to edit program files | + | Execute a text editor to edit program or other text files |
− | + | ||
==Syntax== | ==Syntax== | ||
− | MODIFY COMMAND < | + | MODIFY COMMAND <filename> | (<expC>) |
− | + | ||
==See Also== | ==See Also== | ||
− | [[ED]], [[ | + | [[ED]], [[MC]], [[MODIFY FILE]], [[VI]] |
− | + | ||
==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 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 is a synonym of the ED, MC, MODIFY FILE and VI commands. | |
− | + | ||
− | MODIFY COMMAND is a synonym of the ED and VI commands. | + | |
− | + | ||
==Example== | ==Example== | ||
Line 23: | Line 17: | ||
modify command myprogram | modify command myprogram | ||
ed myprogram | ed myprogram | ||
+ | mc myprogram | ||
+ | modify file myprogram | ||
vi myprogram | vi myprogram | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | |||
− |
Revision as of 11:41, 21 November 2012
Contents
Purpose
Execute a text editor to edit program or other text files
Syntax
MODIFY COMMAND <filename> | (<expC>)
See Also
ED, MC, MODIFY FILE, 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.
MODIFY COMMAND is a synonym of the ED, MC, MODIFY FILE and VI commands.
Example
modify command myprogram ed myprogram mc myprogram modify file myprogram vi myprogram