Hello all,

I wrote a program within a .do file and was having some debugging issues, so I moved it over to a second Tab Group so that I could edit it more easily without scrolling up and down. I got the version in the second tab working nicely and then I closed it without saving. I'm wondering if there is any way that I can retrieve the code. I'm thinking of something like the -vewsource- command, but for a program that isn't saved in a .ado file. Thank you for any help you can provide.


HTML Code:
capture program drop myFavProgram
program define myFavProgram
    version 16
display in red "Here is your program code, Michael"
end

viewsource myFavProgram