ds_TextToMethod


ds_TextToMethod (newCode; methodID) <- errorCode
Parameter Type Description
-> newCode Text Method code
-> methodID Longint Integer Method ID
<- errorCode Long Integer Error Code (0 = no error)


Modify the code of a method which ID is passed.

NOTE: If the method is currently open in Design Mode, its content will not be redrawn in the window. If you close the window, it is the actual text in the window that becomes the code. To update the window, choose "Revert to saved" in the File menu.