摘要:
以下是一段LUA的代码,请教高手“perm{"a", "b", "c"}”为什么能返回一个tablefunction permgen (a, n)if n == 0 thencoroutine.yield(a)elsefor i=1,n do-- put i-th element as the last onea[n], a[i] = a[i], a[n]-- genera... 阅读全文
posted @ 2009-09-04 22:52
陈孝勇
阅读(278)
评论(1)
推荐(0)
浙公网安备 33010602011771号