I wrote a Maple 15 worksheet containing a function that calls two other functions defined earlier in the worksheet. The main function didn't work, so I replaced one of the functions that was called, by cut-and-pasting its definition into the main function. This is obviously inconvenient because I want to alter the function that I cut-and -pasted and whenever I do it I will have to cut-and-paste again. It also detracts from the readability of the document. Now the main function works, even though it calls the other subfunction. Is this a bug? How can I fix it? Can I fix it by writing a procedure? I write functions all the time, but I've never writtten a procedure.
I looked at the "similar questions" listed and didn't see any like mine.