ascii values into a file...
Jennifer M. Adams
jma at COLA.IGES.ORG
Fri Jun 2 11:13:55 EDT 2006
Loic,
Put those commands into a script (myscript.gs) and then run the
script from the GrADS prompt:
ga->run myscript.gs
Documentation for the scripting language is here:
http://www.iges.org/grads/gadoc/script.html
Jennifer
On Jun 2, 2006, at 11:00 AM, Cottet, Loic (IFPRI) wrote:
> Hi,
>
> To output ascii values into a file, I tried to do this way:
>
> filename='praverage3'
> 'set gxout print'
> 'd var'
> rc=write(filename,result)
>
> But from the first step, it has not worked...
>
>
> ga-> filename='praverage3'
> Syntax Error: Expected operand or '('
> Error ocurred at column 1
> DEFINE error: Invalid expression.
> ga-> filename=praverage3
> Syntax Error: Invalid Operand
> 'praverage3' not a variable or function name
> Error ocurred at column 1
> DEFINE error: Invalid expression.
> ga-> filename = praverage3
> Syntax Error: Invalid Operand
> 'praverage3' not a variable or function name
> Error ocurred at column 1
> DEFINE error: Invalid expression.
> ga-> set filename = praverage3
> SET error: Invalid operand
> Operand = filename = praverage3
>
>
> I tried other ways without success...
> Can anyone help me out??
> I would really apprecaite your help,
>
> Thansk a lot,
>
> LCottet.
>
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Beltsville, MD 20705
jma at cola.iges.org
More information about the gradsusr
mailing list