ds_SetMethodName


ds_SetMethodName (oldName; newName) <- errorCode
Parameter Type Description
-> oldName String Name of the method to be renamed
-> newName String New method name
<- errorCode Long Integer Error Code (0 = no error)


Modify the name of the method oldName. The routine does nothing an returns an error if:

IMPORTANT NOTICE: Actual versions of 4D (67/68) don't enable a plugin to inform 4D that a method name has been modified: It is important to reload 4D after having changed a method name this way.