Undefined procedure - however the path is set. [message #91518] |
Thu, 23 July 2015 12:22  |
Laura Dobor
Messages: 5 Registered: July 2015
|
Junior Member |
|
|
Hi!
I have a problem with running one of my routines.
I have a main routine which call others, and those others again.
They are both in the same folder, which I added to the path. Some of them could be compiled automatically, but some of them not found.
I created a simple test, which worked well:
A main routine call test1.pro which call test2.pro
The same situation with more complex procedures not works....
Any idea?
Thanks,
Laura
|
|
|
|
|
|
Re: Undefined procedure - however the path is set. [message #91522 is a reply to message #91518] |
Thu, 23 July 2015 14:03   |
Nikola
Messages: 53 Registered: November 2009
|
Member |
|
|
On Thursday, July 23, 2015 at 8:22:31 PM UTC+1, Laura Dobor wrote:
> Hi!
>
> I have a problem with running one of my routines.
>
> I have a main routine which call others, and those others again.
> They are both in the same folder, which I added to the path. Some of them could be compiled automatically, but some of them not found.
>
> I created a simple test, which worked well:
> A main routine call test1.pro which call test2.pro
> The same situation with more complex procedures not works....
>
> Any idea?
>
> Thanks,
> Laura
If one of the routines is, for example, a procedure, but you call it by mistake as a function, you would get this kind of error.
|
|
|
|
|
Re: Undefined procedure - however the path is set. [message #91530 is a reply to message #91522] |
Fri, 24 July 2015 07:51  |
Laura Dobor
Messages: 5 Registered: July 2015
|
Junior Member |
|
|
2015. július 23., csütörtök 16:04:00 UTC-5 időpontban Nikola Vitas a következőt írta:
> On Thursday, July 23, 2015 at 8:22:31 PM UTC+1, Laura Dobor wrote:
>> Hi!
>>
>> I have a problem with running one of my routines.
>>
>> I have a main routine which call others, and those others again.
>> They are both in the same folder, which I added to the path. Some of them could be compiled automatically, but some of them not found.
>>
>> I created a simple test, which worked well:
>> A main routine call test1.pro which call test2.pro
>> The same situation with more complex procedures not works....
>>
>> Any idea?
>>
>> Thanks,
>> Laura
>
> If one of the routines is, for example, a procedure, but you call it by mistake as a function, you would get this kind of error.
I called it right, as a procedure, the problem was that I used capital letter tot the name of the files..... thanks anyway :)
|
|
|