关于第三个论点,documentation of $LISTDATA说:
var参数不能是非多维对象属性。尝试将值写入非多维对象属性会导致错误。
好的,所以我的理解如下:如果你宣布,请说:
Property foo as %String;
然后尝试:
$listdata(whatever, whatever, ..foo)
然后这是一个错误。但是,如果foo
被声明为:
Property foo [ Multidimensional ];
然后就不会有错误。
是这样,还是这更微妙?例如,如果我宣布:
Property foo as list of %String;
会是多维的吗?