Information générale
Catégorie:
Codage, syntaxe et commandes
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement