General information
Category:
Forms & Form designer
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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only