Re: Conversion of List Object to array changed from 6.0 to 6.1. Why?

From: Karl-Hermann Wieners <karl-hermann.wieners_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 26 2014 - 01:37:41 MDT

Wei,

thanks for your answer. Just two comments:

> The default list type when creating a list variable was changed
> from "CONCAT" AND "FIFO" to "FIFO" (in 6.1.0?).

Seemingly only in 6.2. In 6.1.2, ListGetType([/.../]) gives (/"cat",
"fifo"/)

> If you want it to return an array of 2 elements, you can use:
> ListSetType(my_list, "CAT")
> then myarr = my_list[1:2] will return an array with 2 elements.

This does not work for 6.1.0 nor 6.1.2. Both return lists. It did work
in 6.0.0 and obviously again in 6.2.0.

Best,
Kalle

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Thu Jun 26 07:37:49 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:46 MDT