<div>Thanks! Christoph<BR>I'll try to make the string the same length, and to see if it works. </div>  <div>I'll let you know.</div>  <div>&nbsp;</div>  <div>Best Regards,</div>  <div>Hong Wang<BR><BR><B><I>Stegert &lt;stegert@IFM.UNI-HAMBURG.DE&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR>generally I see no problem - maybe it is within the use of it<BR>not in the definition of that array.<BR>How is this array used in the script?<BR>Or what about the variable name: Maybe it's used elsewhere not as array?<BR>For Matlab all arrays have to be the same length (len('WP') != len('SCS')).<BR>I'm not aware this has to be in GrADS, too - but maybe you check it?<BR>Hope, I can help with some further info on your script...<BR>Greetings, Christoph<BR><BR>H Wang schrieb:<BR><BR>&gt;Hi all,<BR>&gt;<BR>&gt; I tried to define an array in my script as follows,<BR>&gt; domain.1='WP'<BR>&gt;
 domain.2='SCS'<BR>&gt; ......<BR>&gt; but GrADS gave an 'syntax error', could anyone help me?<BR>&gt;<BR>&gt; Thanks and Regards,<BR>&gt;<BR>&gt; Hong Wang<BR>&gt; Fugro GEOS<BR>&gt;<BR>&gt;<BR>--<BR>Christoph Stegert<BR>Intitute for Oceanography - (ZMK/ZMAW alliance member)<BR>University of Hamburg, GER - Ecological Modelling Group<BR>Bundesstr.53 20146 Hamburg - +49-40-42838-7486 - Rm 348<BR></BLOCKQUOTE><BR><p>&#32;
                <hr size=1>On Yahoo!7<br>
<a href="http://au.rd.yahoo.com/mail/tag/criminalminds/**http%3A%2F%2Fau.blogs.yahoo.com%2Fcriminal-minds%2F">
Criminal Minds: Win one of four Dodge Calibers!
</a>