[Thread Prev][Thread Next][Index]

[ferret_users] Define, change/add/remove element in an array.



Hi everyone,

Is there a simple comand to change/add elements inside an array.

For instance, I defined a single row array with :

         let listTemp = {`temp1`,`temp2`,`temp3`,`temp4`}

But then, I'd like to add new values `temp5`, `temp6`.... or change `temp1` to a new value.
I tried something like : "listTemp[i=1] = `temp5`" but it doesn't work.

If anyone knows how to do it....

Thanks,
Nicolas

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement