Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error No PARAMETERS statement is found
Message
De
09/03/2011 13:30:06
 
 
À
09/03/2011 06:13:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01502993
Message ID:
01503050
Vues:
58
I've run into problems where not only were identically-named functions (which resulted in hard-to-diagnose problems -- depending on the conditions you might fet a different one being called), but within one context the name would resolve to an array variable. It's one of those things I had to learn to deal with when dealing with program code that had been worked on by several different programmers that practiced "cut-and-paste" coding (i.e. copy sections of code from one place, then applying minimal changes to get it working within another context -- a real headache as usually none of the variable and function names have anything to do with the context they appear).

>I'm glad you solved the problem. Having functions with the same name can be a PITA, that's one of the reasons why I now mostly use separate files for every function.
>
>>Found where was an error:
>>there was two .prg files where was declared two different functions with same name - one with PARAMETERS statements, other without... It's strange how compiler alloyed to compile the code... :-?
>>
>>>You must try to isolate the error, exactly what line of code triggers the error.
>>>
>>>>Without any parameters.
>>>>The problem occurs sometimes working with forms...
>>>>
>>>>>How do you start the exe, do you add parameters?
>>>>>
>>>>>>It's compiled with Debug info, but Error doesn't give any information about line...
>>>>>>
>>>>>>>Compile the exe with debug info, and see which line causes the error.
>>>>>>>
>>>>>>>>Hello,
>>>>>>>>
>>>>>>>>I have strange behavior of my compiled exe file.
>>>>>>>>
>>>>>>>>I'm getting "No PARAMETERS statement is found" error where it can't be...
>>>>>>>>
>>>>>>>>Why this error occurs?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform