You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling a remote function declared as local reports the error "invalid function name..".
But, the name IS valid: but what it is invalid is the attempt to use it.
Example:
functionvisible()
print"i am visible"endlocalfunctioninvisible()
print"i am invisible"endprocedure={"visible","invisible"}
localf, err=loadstring("return "..procedure[1], "call")
f=f()()
localf, err=loadstring("return "..procedure[2], "call")
print(type(f), err)
f=f()()
The text was updated successfully, but these errors were encountered:
Calling a remote function declared as local reports the error "invalid function name..".
But, the name IS valid: but what it is invalid is the attempt to use it.
Example:
The text was updated successfully, but these errors were encountered: