Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing a sub-routine
Message
De
10/01/2005 11:29:29
 
 
À
10/01/2005 09:12:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00975393
Message ID:
00975692
Vues:
16
Yes, indeed, my apologies ... once I read "Code Reference" in Tore's message, I thought I understood more than I did.

So, double-clicking then right-clicking does the trick. A number of things I've learned here (for others as ignorant of this capability as I):

[1] It appears that this works only when you have a project open. As I haven't usually worked that way, it seems like this capability alone makes it worthwhile always to have the current project open.

[2] "View Definition" find the PROC or FUNC wherever it is, be it the current PRG or embedded in some other PRG.

[3] "View Definition" only finds PROCs that are defined with a PROCEDURE or FUNCTION statement. Thus, a PRG named 'MyProgram.PRG' which does not begin with a PROCEDURE statement will not be found. (I usually only add PROC of FUNC to the first line of PRGs if there are more than one in the PRG.)

[4] Directly below "View Definition" in the pop-up menu is a closely related item, "Look Up Reference" which will find all references to the highlighted name ... an easy way to get to "Code References".

Again, Thanks

Jim


>>RE: Code Reference:
>>
>>Yes, that's a powerful tool, just not the right one for what I need. In fact, I use it all the time ... to find code references. My issue is that I already have code on my screen, which references a PRG somewhere ... and I want a quick/slick way to begin editing that PRG.
>>
>
>Read the rest of Tore's message. The View Definition capability is what you're looking for.
>
>Tamar
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform