Christelle,<div><br></div><div>I noticed you have "vents" twice in your run command, yet your script is named "vent." I also suspect you should have the "vents" parameter in single quotes.</div>
<div><br></div><div>It would help if you provided what the "say" output was for the "args" string as well as for each arg.</div><div><br></div><div>Stephen Mc<br><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 4:19 AM, Christelle LACROIX <span dir="ltr"><<a href="mailto:cl@meteoconsult.fr">cl@meteoconsult.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div><br></div><div>I have a problem: I try to pass 9 argument to a grads script, but it print only 8.</div>
<div>Do it exist a limit of argument's number?</div><div><br></div><div>My script is <a href="http://vent.gs" target="_blank">vent.gs</a></div>
<div><br></div><div><div>function main(args)</div><div><br></div><div> 'reinit'</div><div><br></div><div>say '###########################'</div><div>modele=subwrd(args,1)</div><div>numparam=subwrd(args,2)</div>
<div>latmax=subwrd(args,3)</div><div>lonmax=subwrd(args,4)</div><div>latmin=subwrd(args,5)</div><div>lonmin=subwrd(args,6)</div><div>param=subwrd(args,7)</div><div>pas=subwrd(args,8)</div><div>nbech=subwrd(args,9)</div><div>
say args</div><div>say modele</div><div>say numparam</div><div>say latmax</div><div>say lonmax</div><div>say latmin</div><div>say lonmin</div><div>say param</div><div>say pas</div><div>say nbech</div><div>say '###########################'</div>
</div><div><br></div><div>....</div><div><br></div><div>and i run with ./grimp_arg vents gfs_00 1 55 20 33 14 vents 6 24 </div><div><br></div><div>where gfs_00 is modele, 1 numparam, 55 latmax, 20 lonmax, 33 latmin, 14 lonmin, vents param, 6 pas and 24 nbech.</div>
<div><br></div><div>Do you have an idea to resolve my problem, please.</div><div><br></div><font color="#888888"><div><br></div><div><br></div><div>CL</div>
</font><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<pre>***************************************************
The information contained in this e-mail message
is intended only for the use of the recipient(s)
named above and may contain information that is
privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify
the sender immediately by e-mail, and delete the original message.
***************************************************