Opens the file where a script function is defined. |
||
Syntax |
edit(functionname) edit(functionptr) |
|
Argument |
Name |
Description |
|
functionname |
A string; the name of the script function to be opened in the editor, if possible. |
|
functionptr |
The address of the function. More specifically, the function that you want to open. See Example. |
Outputs |
Name |
Description |
Example |
Opens the 'rand' and 'randn' functions in the editor. |
|
|
Syntax |
|
|
edit('rand'); // using the string name of the function edit(randn); // using directly the address of the function edit('my_new_function') // proposes to create the file my_new_function in the current directory. |
|
Comments |
Opens the file where a script function is defined. If the function does not exist, the editor proposes to create a file with this name. |
|
See Also: |