unknown command: 0

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Mon Mar 20 06:24:03 EST 2006


it's all OK: see
http://www.iges.org/grads/gadoc/script.html
0,1,... report the "status" of close, open, read

bye bye
davide

On Mon, 2006-03-20 at 11:59 +0100, Christoph Stegert wrote:
> Dear,
> I had the same message "Unknown command: 0"
> in a skript.
> I opened a file, read the content and closed it by
> "close(filename)"
> The message was suppressed, when assigning it to a variable:
> "cl = close(filename)".
>
> It seems, that a error code is returned, when closing a file.
> If not assigned to a variable, GrADS does not know, what to
> to with it...
>
> I hope, this can also help with the "command:1" message.
>
> Regards,
> Christoph
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
P.za Vittoria 15 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list