Thanks for you reply. This was not at all obvious to me. For one thing, I was using document mode and the code is not shown when you do that. For another thing, how would you be able to type the code and know the label? Here is the code that Maple wrote when I used worksheet mode:
DocumentTools[Retrieve]("C:\\Users\\fzfbrd\\Documents\\Example for Om.mw", "L12009")
If I wanted to type this, how would I ever know the label "L12009"? As it is, I had a menu pick between labels (10.1 10.2 10.3 10.4) when I used the menu to generate this code.
It would be nice if there was something more meaningful than "L12009" here. I suppose if I assign the result to a meaningful name, and/or add comment text, I can show in the document what is going on.