0

I currently have a generated XBase object with some method names:

get_0(), get_1(), get_...(), get_50()

Now I'd like to call them with a loop instead of 50 lines, like this

for(var i = 0; i <= 50; i++) {

   fiftyGetters.get_ + i // 

}

How can I achieve this in XBase/XText?

Ivar Reukers
  • 7,560
  • 9
  • 56
  • 99

0 Answers0