beifang 发表于 2014-6-23 16:05

@index()函数问题

想知道集合nodes中的成员在order集合中的顺序,编写程序如下,但有问题,改如何修改?
sets:
nodes /c,a,b,d/:num;
order /a,b,c,d/:;
endsets
@for(nodes(i):num(i)=@index(order,nodes));
页: [1]
查看完整版本: @index()函数问题