Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is the first exercise, you'll learn how to iterate with the BREAK or CONTINUE statement on an a Xporter generated file.

Info

For the break functionality, lets let's say that you want to stop the iteration.

For the continue functionality, lets let's say that you want to skip to the next iteration.

...

Then you put the set function to count +1, because when entering the iteration sums +1 in your count. After that, it calls the mapping that initialized on the set function.

...

Finally, close the iteration comments with #{end}.

On the same template, we are going to learn the iteration break

...

Below there is a sample of how the mappings will be displayed in a Word template:

Image RemovedImage Added

This template has:

  • An A header with an image
  • Headings
  • Text styling

Below there is a sample of how the generated file will be populated:

Image RemovedImage Added

Info

If you like this exercise, please share your opinion on the page just leaving a comment or a (thumbs up) Like. Your opinion is very important to us and to all the people interested in our Add-on. Thank you in advance.

...