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

Home » Public Forums » archive » compiling errors in different computers with CW_BGROUP and GET_SCRREEN_SIZE
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
compiling errors in different computers with CW_BGROUP and GET_SCRREEN_SIZE [message #11355] Sat, 21 March 1998 00:00 Go to next message
M. Jesus Ledesma is currently offline  M. Jesus Ledesma
Messages: 1
Registered: March 1998
Junior Member
Hello,

I am a spanish student, I am developing and aplication for a
Center in Germany and the last days I've had some strange problems. I
have my aplication compiling and running here in Spain, but when
yesterday I sent it to Germany , there it does not compile,
unbelivebable!. We both have the same development version idl 5.0.2.

I have tested the aplication in different idl licences here
in Spain, and no problems and of course the least with compiling. It
seems the thransmission has been done correctly. I have done it sveral
times etc...

Well the errors are also very courious. They only appear with to
functions, CW_BGROUP, and GET_SCREEN_SIZE , but the fuctions are in
their version,...


In a file of 4000 lines only this errors apear,
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::

screen_size=GET_SCREEN_SIZE()

^
% Syntax error.
At: C:\George\Pet.pro, Line 4031

wZWindow= CW_BGROUP(wZBase,/ROW,/EXCLUSIVE, $

^
% Syntax error.
At: C:\George\Pet.pro, Line 4084

wRoiDefModes= CW_BGROUP(wSubBase, /COLUMN, /EXCLUSIVE, /NO_REL,
/RETURN_NAME, $

^
% Syntax error.
At: C:\George\Pet.pro, Line 4109

wRoiDefOptions= CW_BGROUP(wSubBase, /COLUMN, /NO_RELEASE,
/RETURN_NAME, $

^
% Syntax error.
At: C:\George\Pet.pro, Line 4111
% 4 Compilation errors in module PET.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::

This are the only occurrences of this functions in this file. I find it
quite strange, and above all I do not know what to do, and it is a
little bit urgent.


THANK YOU ALL ,


Maria.
Re: Compiling errors [message #64283 is a reply to message #11355] Wed, 17 December 2008 04:37 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
loebasboy wrote:
> I have a procedure where i use a self written function in. If I
> compile the procedure and then type in the command line the following:
>
> .reset_session
> resolve_all
>
> all dependent functions are compiled. Then if i try to run the
> procedure I get an error on the line where i use the self written
> function:
>
> % Keyword parameters not allowed in call.
>
> I've rewritten the function some time ago with different input
> parameters as a result. If I then compile the self written function
> manually, everything works.

is it a system function?
Do you still have the old one in your path? ... I have found IDL7 to use
the dumbest file it could (like function_backup.pro will be used before
function.pro)

> What seems to be the problem here? Am I doing something wrong here,
> apart for rewriting the function.
>
> Also, if I use 'resolve_all' with IDL + ENVI on, i get alot of errors,
> with being the first:
>
> % Attempt to call undefined procedure/function: 'ADAPT_FILT_EVENT'.
>
>
> What am I doing wrong?

Nothing, resolve_all calls all (really all of them?) Envi functions when
Envi is open... nothing to worry about!

Jean
Re: Compiling errors [message #64367 is a reply to message #64283] Thu, 18 December 2008 01:37 Go to previous message
loebasboy is currently offline  loebasboy
Messages: 26
Registered: August 2008
Junior Member
On 17 dec, 13:37, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
> loebasboy wrote:
>> I have a procedure where i use a self written function in. If I
>> compile the procedure and then type in the command line the following:
>
>> .reset_session
>> resolve_all
>
>> all dependent functions are compiled. Then if i try to run the
>> procedure I get an error on the line where i use the self written
>> function:
>
>> % Keyword parameters not allowed in call.
>
>> I've rewritten the function some time ago with different input
>> parameters as a result. If I then compile the self written function
>> manually, everything works.
>
> is it a system function?
> Do you still have the old one in your path? ... I have found IDL7 to use
> the dumbest file it could (like function_backup.pro will be used before
> function.pro)
>
>> What seems to be the problem here? Am I doing something wrong here,
>> apart for rewriting the function.
>
>> Also, if I use 'resolve_all' with IDL + ENVI on, i get alot of errors,
>> with being the first:
>
>> % Attempt to call undefined procedure/function: 'ADAPT_FILT_EVENT'.
>
>> What am I doing wrong?
>
> Nothing, resolve_all calls all (really all of them?) Envi functions when
> Envi is open... nothing to worry about!
>
> Jean- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Thanks for the answer, the self written function is called
'read_hdf5'. A function that is not a system function by my knowing.
The only thing resembling is the example program 'ex_read_hdf5'.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: background color for draw widget
Next Topic: Re: Remotely running IDL on a Mac using X11

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

Current Time: Wed Oct 08 16:01:01 PDT 2025

Total time taken to generate the page: 0.00822 seconds