Patrick Gundlach <[email protected]> a écrit: > > > > > local function NodeNumber (n) > > return tostring(n):match("<%s+(%d+)%s+>") > > end > > > > which can then be used as an index, under the assumption that node > > numbers are never reused. > > Taco once wrote here > > "This number uniquely identifies a node for as long as it stays > allocated, yes. If it is freed, a new node may have the same > number."
Ah, I should have reread the Scriptures. Then I guess only attributes may uniquely identify nodes... unless I humbly request a "uniqueid" field present in all nodes, but that might not be extremely interesting beside my particular problem. Best, Paul
