System Command EDIT: Difference between revisions

From NARS2000
Jump to navigationJump to search
(new)
 
(more detail)
Line 1: Line 1:
The ''')EDIT''' command is used to edit an APL function. The command is entered into the session manager. There are two forms
The ''')EDIT''' command is used to edit an APL function. There are two forms:
:)EDIT
:)EDIT
and
and
Line 5: Line 5:
where ''function'' is the name of the function to edit. If the function exists, an edit window will be opened and the function will be shown in the window. If the function does not exist, a new edit window will open with an empty function other than the function name on line 0.
where ''function'' is the name of the function to edit. If the function exists, an edit window will be opened and the function will be shown in the window. If the function does not exist, a new edit window will open with an empty function other than the function name on line 0.


If ''')EDIT''' is used with no function name specified, a new edit window will open and a blank line 0 will be presented. The function can be typed in (minus the prefix del <apl>{del}</apl> symbol.)
Function names, like variables, are case sensitive. '''PI''', '''Pi''', '''pI''', and '''pi''' are four different identifiers.


The ''')EDIT''' command is treated exactly as the del (<apl>{del}</apl>) symbol, a del used alone opens a blank window to edit a new function, del followed by the name of a function opens a window containing the existing function for editing or opens a new window to define the contents of the function.
If ''')EDIT''' is used with no function name specified, a new edit window will open and a blank line 0 will be presented. The function can be typed in to this window on this line (without using the prefix del (<big><apl>{del}</apl></big>) symbol.)
 
The ''')EDIT''' command is treated exactly as the <big><apl>{del}</apl></big> symbol, a <big><apl>{del}</apl></big> used alone opens a blank window to edit a new function, <big><apl>{del}</apl></big> followed by the name of a function opens a window containing the existing function for editing, or opens a new window to define the contents of the function.


{{Commands}}
{{Commands}}

Revision as of 01:49, 22 February 2013

The )EDIT command is used to edit an APL function. There are two forms:

)EDIT

and

)EDIT function

where function is the name of the function to edit. If the function exists, an edit window will be opened and the function will be shown in the window. If the function does not exist, a new edit window will open with an empty function other than the function name on line 0.

Function names, like variables, are case sensitive. PI, Pi, pI, and pi are four different identifiers.

If )EDIT is used with no function name specified, a new edit window will open and a blank line 0 will be presented. The function can be typed in to this window on this line (without using the prefix del () symbol.)

The )EDIT command is treated exactly as the symbol, a used alone opens a blank window to edit a new function, followed by the name of a function opens a window containing the existing function for editing, or opens a new window to define the contents of the function.

System Commands (not case sensitive)
)CLEAR )CLOSE )COPY )DROP )EDIT )ERASE )EXIT )FNS )FOP )FOPS
)IN )INASCII )LIB )LOAD )NEWTAB )NMS )OFF )OPEN )OPS )OUT
)RESET )SAVE )SI )SIC )SINL )SYMB )ULIB )VARS )XLOAD )WSID