What is max count of local variables can we use inside a interface or inside an expression a!localvariables()?
Discussion posts and replies are publicly visible
I'm unaware of any actual finite cap - however, usability will be a different story - in real-world scenarios, complexity and usability will go off the rails pretty quickly with any more than maybe a few dozen at the most. What's your use case exactly?
Just trying to build a holiday calendar interface( kind of Feed view), Well I defined total of 14 local variables (Month wise one), Just thinking of decreasing the number if possible. If 14's a no problem then I'm gonna continue with that.
I have some forms with perhaps dozens - with any number in that ballpark or less, the only real issue would be if many of them are doing lots of work (data-intensive queries, etc), which would affect your load times and potentially memory consumption. But if they're mostly lightweight / reference pointers / etc, then it should be just fine.