Hi all,
when playing around with the List routines, I stumbled across this puzzle:
When I have this
[...] NCAR Command Language Version 6.0.0 [...]
ncl 0> x = [/ 42 /]
ncl 1> print(ListGetType(x))
(0) cat
(1) fifo
, then why is that the code below fails
ncl 2> y = NewList("cat")
fatal:NewList: unknow list type
fatal:Execute: Error occurred at or near line 2
, this does not fail, but doesn't give the default result (as for x)
ncl 3> z = NewList("fifo")
ncl 4> print(ListGetType(z))
(0) fifo
, and this works as expected?
ncl 5> a = NewList("join")
ncl 6> print(ListGetType(a))
(0) join
(1) fifo
Could anyone solve this for me?
Cheers,
Karl
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 8 04:11:40 2012
This archive was generated by hypermail 2.1.8 : Thu Feb 09 2012 - 13:33:26 MST