FOR EACH example
This example demonstrates how to use the FOR EACH command. FOR EACH iterates with elements of data types that can be seen as a collection such as arrays, strings or objects.

foreach sample running on Windows

  How to compile:  
  To learn how to compile/link this example see our specific section on this link.