我有一个函数,我想在程序运行时动态添加.
假设我有Foo功能:
function foo()
Function1()
Function2()
Function3()
end
Run Code Online (Sandbox Code Playgroud)
我想将Foo()更改为:
function foo()
Function1()
Function2()
Function3()
Function4()
end
Run Code Online (Sandbox Code Playgroud)
后来在该计划中.有没有办法做到这一点?