Ax2012 container list的用法
container
static void Job1(Args _args) { container con = ["aaa", "bbb", "ccc"]; int i; ; con += "ddd"; for(i = 1; i <= conLen(con); i++) { info(strFmt("%1", conPeek(con, i))); } }
List
static void Job2(Args _args) { List list = new List(Types::String); ListIterator iterator; String255 stringtest = "aaa,bbb,ccc"; ; list = strSplit(stringtest, ","); list.addEnd("ddd"); iterator = new ListIterator(list); while(iterator.more()) { info(strFmt("%1", iterator.value())); iterator.next(); } }