|
Is there a way other than wrapping things in pcall to tell what the maximum level I can pass to getfenv is? I'm trying to implement pseudo-dynamic scoping by searching up the call chain for the first function environment referencing a particular variable. Mark