Jump to content
Sign in to follow this  
Kalle Samuelsson

Max amount of function parameters?

Recommended Posts

Hi!

Simple question, is there a max amount of parameters that can be declared when using RegisterGroovy to create a function?

Is the SMSetVariable a better option the using named parameters when dealing with about 30 values that needs to be passed to the groovy syntax. If so, why?

If it is only cosmetic and/or developer semantics reasons I will use named parameters in this case. It will be so much easier for the developer who will be using the functions I´m writing now. However, if there are limitations or memory issues I would be very grateful if someone would tell me about them!

Thanks in advance

Share this post


Link to post
Share on other sites

I don't see any reason why that wouldn't work fine. If for some reason you experience an issue let us know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.