User Portlet
| Discussions |
|---|
| You could consider using indexed variables. Instead of naming the variables `a1`, `a2` .. `ai`, name them `a[1]`, `a[2]` .. `a[i]`. The index number in square brackets can then easliy be assigned from code. And the value of `a[n]` can likewise... |