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

Home » Public Forums » archive » Re: Changing common variable definition
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Changing common variable definition [message #2559 is a reply to message #2558] Tue, 26 July 1994 06:20 Go to previous messageGo to previous message
andy is currently offline  andy
Messages: 31
Registered: November 1993
Member
In article <312ne0$1ug@aragorn.unibe.ch>, larkum@optolab.unibe.ch (Matthew Larkum) writes:
> Hi,
> If I write some routines that share the line say:
> common my_vars, x, y
> and then add a variable:
> common my_vars, x, y, z
> and recompile, I get an error:
> % Attemp to extend previously defined common: MY_VARS
> Is there any way to redefine a common variable?
> Thanks,
> Matthew
> larkum@optolab.unibe.ch
>

I believe that in order to redefine a COMMON block one must make the
appropriate changes, exit IDL, and then re-enter IDL and run the procedure.

--
,__o Andrew F. Loughe (Mail Code 971)
-\_<, NASA Goddard Space Flight Center phone: (301) 286-5899
(*)/'(*) Greenbelt, MD 20771 email: andy.loughe@gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: REQ: Color Selection Tool
Next Topic: Finding common elements in two arrays

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

Current Time: Sun Oct 12 07:03:48 PDT 2025

Total time taken to generate the page: 0.16289 seconds