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

Home » Public Forums » archive » Common trouble
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
Common trouble [message #16787] Wed, 18 August 1999 00:00 Go to next message
Kristian Kjaer is currently offline  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 #16832 is a reply to message #16787] Tue, 24 August 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Stein Vidar Hagfors Haugan (steinhh@ulrik.uio.no) writes:

> You mean *everything*? Including call_external and dlm links?

Yes, *everything*. Neat, huh? :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Common trouble [message #16834 is a reply to message #16787] Tue, 24 August 1999 00:00 Go to previous message
steinhh is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL and WAVE: # and types of users?
Next Topic: Re: Gif animated

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

Current Time: Wed Oct 08 15:14:21 PDT 2025

Total time taken to generate the page: 0.00465 seconds