<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> </div> <div>Best Regards,</div> <div>Hong Wang<BR><BR><B><I>Stegert <stegert@IFM.UNI-HAMBURG.DE></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>>Hi all,<BR>><BR>> I tried to define an array in my script as follows,<BR>> domain.1='WP'<BR>>
domain.2='SCS'<BR>> ......<BR>> but GrADS gave an 'syntax error', could anyone help me?<BR>><BR>> Thanks and Regards,<BR>><BR>> Hong Wang<BR>> Fugro GEOS<BR>><BR>><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> 
<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>