[Thread Prev][Thread Next][Index]

Re: [ferret_users] Define new variable!



You need to use special quotes around e1:
--------------------------
let e1=nv[l=1]
let elex=lon[i=`e1`]
--------------------------

Serena

On Tue, May 20, 2008 at 3:01 PM, Yu, Hao-Cheng <danish.url@xxxxxxxxx> wrote:
Dear ferret users,

I've been trying to define a new variable and use this variable as index of i-axis, like

--------------------------
let e1=nv[l=1]
let elex=lon[i=e1]
--------------------------

"nv" is integer, define i-index,
"lon" is longitude (also real)
I try to get "lon" variable at specific i-index.
The first line, e1 is OK.
But the second not work, ferret tells me "**ERROR: command syntax:"

ferret seems not support this kind of using!
Any suggestions?





--
.¸. , . .·´¯`·
><(((º> `·.¸.·´¯`·...¸><(((º>¸.¸. , . .·´¯`· ><(((º> .
`·.¸.·´¯`·...¸><(((º> .
.
Serena THEVENIN-ILLIG LEGOS/IRD .
14 Av. E. Belin .
31400 Toulouse .
FRANCE .
.
E-mail : serena.illig@xxxxxxxxx .
Web : http://sillig.free.fr .
Phone : 05 61 33 30 52 .
Fax : 05 61 25 32 05 .
<º)))><..·´
[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement