edit
From DavinciWiki
Contents: Description, Arguments, Usage, Examples Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Edit the code of a User Defined Function
Arguments and Return Values Arguments: The name of the script Return Value: None. Opens a file editor.
Usage Syntax: edit(function) A text editor will be opened to allow the user to alter the code of the specified user-defined function. Upon saving the function will operate according to the alterations.
Examples dv> define a_function() { 1> printf("this is a script\n") 1> } Loaded function a_function dv> a_function() this is a script dv> edit(a_function) In text editor the statement in changed to "an altered": define a_function() { printf("this is an altered script\n") } ~ ~ ~ ~... After saving and returning to the davinci session: dv> a_function() this is an altered script |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 03-27-2006 |