comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Undefined function/procedure message
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Undefined function/procedure message [message #43402] Tue, 12 April 2005 08:57
elias is currently offline  elias
Messages: 13
Registered: April 2005
Junior Member
My program structure is the following one:

pro main

(...)

;user routine for writing out channels
for iu=0, n_elements(user_procedure)-1 do begin
call_procedure,user_procedure(iu),chst
endfor

(...)

end

The "user_procedure" is just a filename that I define when calling
name, for example:

main, user_procedure='user1.pro'

I have created and complied a user1.pro file, before I run and compile
main.

But after I run "main, user_procedure='user1.pro' ", I get the message
that "user1.pro is undefined function or procedure".

The same code was tested in another computer and it worked, so I am not
sure what is the mistake in my case. Maybe some idl configuration error?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: problem with xroi
Next Topic: Re: Undefined function/procedure message

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:51:19 PDT 2025

Total time taken to generate the page: 0.00609 seconds