Common trouble [message #16787] |
Wed, 18 August 1999 00:00  |
Kristian Kjaer
Messages: 58 Registered: June 1998
|
Member |
|
|
Q1: How do you delete a common block (other than by exiting IDL)?
Q3: Should commons be avoided altogether in IDL ?
Q2: Why does this not work (got the same with IDL 5.1 on linux):
IDL Version 5.0.3 (Win32 x86). Research Systems, Inc.
For basic information, enter "IDLInfo" at the IDL> prompt.
;;;;; (No startup file being run here!)
IDL> .r testcomn
common mycomblock,p,q,r
^
% P is already defined with a conflicting definition.
At: c:\tasclib.idl\special\testcomn.pro, Line 2
common mycomblock,p,q,r
^
% Q is already defined with a conflicting definition.
At: c:\tasclib.idl\special\testcomn.pro, Line 2
common mycomblock,p,q,r
^
% R is already defined with a conflicting definition.
At: c:\tasclib.idl\special\testcomn.pro, Line 2
% 3 Compilation errors in module TESTCOMN.
; begin code ----------------
pro testcomn,p,q,r
common mycomblock,p,q,r
return
end
; end code ----------------
Thanks, Kristian.
|
|
|
|
Re: Common trouble [message #16834 is a reply to message #16787] |
Tue, 24 August 1999 00:00  |
steinhh
Messages: 260 Registered: June 1994
|
Senior Member |
|
|
Michael Asten wrote:
> Fortunately help is at hand; RSI advise that idl5.3 has a
> commandline command to reset everything without exiting idl.
You mean *everything*? Including call_external and dlm links?
And I've spent all this time optimizing the restart delay
down to about 1 second.... (OK, so the bulk of the code
must be in cache somewhere...)
Regards,
Stein Vidar
|
|
|