Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure Name is blank! when right click on edit window
Message
De
28/05/2003 18:04:56
 
 
À
28/05/2003 13:18:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00793560
Message ID:
00793729
Vues:
39
Jim,

Hi. Thanks. I don't think that is it because I created the following procedure file to test it:

procedure a

endproc

procedure a

endproc

and when I right click - I get procedure a listed twice - without a problem.

In the meantime, after a few tries of deleting the 'procedure x' line,
and then re-adding it, then saving, exiting and then editing again, it went away.




>David,
>
>This is strictly a SWAG, but is it possible that that's it's way of trying to tell you that you have 2 functions/procedures in the file with the same name?
>
>You probably know that such a situation is "legal" and that it is the LAST one in the file that wuill be executed if it is ever called.
>
>good luck
>
>
>>Starting a few months ago, I started running into an intermittent problem as follows:
>>
>>1) I have a large procedure file - with lots of procedures and functions
>>2) I am using vfp6 (sp3 - I think)
>>3) Sometimes, after making a number of edits to the file - I right click on the edit window - so I can popup the list of procedures and functions, and choose one to go to. The procedures and functions sort in alpha order.
>>4) Once in a while, upon popping up the list, I have a blank procedure name at the top of the list.
>>5) Upon highlighting the blank name - then clicking goto. I am taken to the 'supposedly' blank name. But the cursor is placed on the name of a valid procedure name
>>6) I can reproduce this, consistently, of course if I just make a procedure where there is IN FACT no procedure name like:
>>
>>procedure
>>
>>
>>endproc
>>
>>7) But the problem is that the procedure actually looks OK - with a valid name.
>>8) So, far, in the past, I have been able to fix it by deleting some of the lines for procedure name - for the offending procedure - and then retyping it again - my assumption being that some bad characters have gotten into the file.
>>9)Up until about a minute ago - this approach has worked. As I type this, I have a procedure file up with this problem - where it is 'resisting' my efforts to fix it by tweaking the file by deleting lines. I hope I can fix it this time. I am very worried that I have a prg file that is in some way corrupt.
>>
>>Has anyone encountered this as well? Any ideas on what would be causing this?
>>
>>TIA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform