edit
edit(S_object[g_loadFlag] ) =>x_childId
Description
Edits a file, function, or variable. This function only works if you are in graphical mode. This is an nlambda function.
edit brings up an editor window in a separate process and thus doesn’t lock up the CIW. If the object being edited is a function that was loaded after debug mode was turned on, then edit opens up the file that contains the function. If the editor is vi or emacs it jumps to the start of the function. If g_loadFlag is t the file is loaded into SKILL when the editor is exited. Be sure the editor variable is set up properly if you are using an editor other than vi or emacs.
Arguments
Value Returned
Examples
Edits the .cdsinit file in your home directory.
edit( "~/.cdsinit" )
edit( myFun)
Edits the myVar variable and loads in the new value when the editor window is closed.
edit( myVar )
Related Topics
Return to top