Creator, on 07 November 2015 - 08:54 PM, said:
getfenv() returns the environment of the current function which is the "main" program. But that would still cause conflicts because getfenv returns a pointer to the env, not a copy of the env. You have to copy (or even "deep copy") the env to get two independent tables.











