You can use readmethod to get the existing method code into a string, and then create a temp file with filetostr which contains the code. After the temp file is available issue "Modify comm ( tempfile )" Upon completion do a filetostr, save the method code using writemethod, and finally delete the tempfile.
>Thanks a lot, Fred.
>
>Alex
>
>>>Hi,
>>>
>>>I am writing a generic builder (a sort of a PropertySheet which only shows the PEMs that you are interested in editing).
>>>
>>>It is easy to edit property values, but how do I give it the ability to edit methods ? You can get the current method code via GetPEM(), but how does one "PutPEM()" for a method ?
>>>
>>>Ideally the builder would edit the methods "in memory", allowing user to back out of changes if he decides not to save his form.
>>>
>>>TIA,
>>>
>>>Alex
>>
>>WRITEMETHOD()
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only