Indexed/array variables

We have a group of 10 variables GB-0, GB-1, ... GB-9 that should be indexed by <SatzDS."Gruppe">. We tried expressions like ['GB-'+IntToStr(<SatzDS."Gruppe">)] but couldn't get it to work.

The current solution is a massive IIF expression [IIF(<SatzDS."Gruppe">=0,<GB-0>,IIF(<SatzDS."Gruppe">=1,<GB-1>,IIF(<SatzDS."Gruppe">=2,<GB-2>,IIF(<SatzDS."Gruppe">=3,<GB-3>,IIF(<SatzDS."Gruppe">=4,<GB-4>,IIF(<SatzDS."Gruppe">=5,<GB-5>,IIF(<SatzDS."Gruppe">=6,<GB-6>,IIF(<SatzDS."Gruppe">=7,<GB-7>,IIF(<SatzDS."Gruppe">=8,<GB-8>,<GB-9>)))))))))] but we would like to have something more scalable.

Is there anything like array variables? Or could we use a different construct (not variables)?


  • gpigpi Volnovakha, Ukraine


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.