Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
101 VFP7 Things, Part 22, EditSource()
Message
De
16/02/2001 10:43:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
101 VFP7 Things, Part 22, EditSource()
Divers
Thread ID:
00476642
Message ID:
00476642
Vues:
66
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform