We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local := R[70..80] def func2(val, exp) : numreg return(Mth::exp(exp * Mth::ln(val))) end power := R[20] power = ns1::func2(4, 2)
gives error:
indirect_node.rb:70:in `id': undefined method `value' for #<TPPlus::Nodes::ArgumentNode:0x000001f424c699f8 @id=3, @comment=:ret> (NoMethodError) @target.value\r
The text was updated successfully, but these errors were encountered:
Current work around is to put it outside of return using a local register
local := R[70..80] def func2(val, exp) : numreg num := LR[] num = Mth::exp(exp * Mth::ln(val)) return(num) end power := R[20] power = ns1::func2(4, 2)
Sorry, something went wrong.
This is a patch for nested function calls. See Issue #43. Unknown if …
a8eae2b
…this would act recursively.
No branches or pull requests
gives error:
The text was updated successfully, but these errors were encountered: