Hey everyone, been awhile, pretty busy. But I came accross this and thought it was nifty.
THere is an EditSource() function, that lets you open up a procedure for editing with more control. You can open PRG, MPR, QPR, TXT, SCX, VCX, FRX, LBX, MNX, DBC Stored Procedures, and "others" with it.
The syntax in help looks like "EditSource(cShortCutID | [ cFilename [, nLineNo] [, cClassName]
[, cMethodName|ProcName]] [, Flags])" though Flags isn't supported in the Tech Preview (which is what I have at work here). Here are some examples.
?EDITSOURCE('sysmain.prg', 10)
?EDITSOURCE('aapplication.vcx', 10, 'auser', 'Init')
The cShortCutID thing is for the Task manager. It returns a 0 if it was opened, or a number indicating why it failed.