Re: About the EXTEND COMMON BLOCK error message [message #66731] |
Thu, 11 June 2009 12:19 |
Foldy Lajos
Messages: 268 Registered: October 2001
|
Senior Member |
|
|
On Thu, 11 Jun 2009, LI, Tongmu wrote:
> Hi all,
>
> I am using a very old IDL code, perhaps 10 year old, to do my work.
> The code is pretty long 5000 rows. And to be honest, I am not an
> experienced IDL programmer. So each time I got this error message
> % Attempt to extend common block: RECINFO
> I do not know what to do with it. I tried to correct the code. Nothing
> good comes out. So I am wondering typically what this message can tell
> me what the mistake is.
>
> Thanks in advance.
>
> Tongmu LI
>
IDL> common recinfo, x
IDL> common recinfo, x, y
common recinfo, x, y
^
% Attempt to extend common block: RECINFO
You have different definitions of the common block RECINFO. Check that all
definitions have the same number of variables.
(The first definition is the real definition. You can omit variables
later, but you can't add new ones. First means first compiled.)
regards,
lajos
|
|
|