*/
private ListData getList(String listName) {
if (listName.startsWith("[")) {
// listName names a data element
listName = trimDelim(listName);
SimpleData d = getSimpleValue(listName);
if (d instanceof ListData) return (ListData) d;
if (d instanceof StringData) return ((StringData) d).asList();
if (d instanceof SimpleData) {
ListData result = new ListData();
result.add(d.format());
}
return EMPTY_LIST;
} else {
// listName names an environment variable or parameter
ListData result = new ListData();