ascii values into a file...

Cottet, Loic (IFPRI) l.cottet at CGIAR.ORG
Fri Jun 2 11:00:40 EDT 2006


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.



More information about the gradsusr mailing list