For each element

For each element

Table of Contents

Overview

The For each element Deluge syntax executes a set of tasks repeatedly, for each element in the list.

Syntax

for each <elementname> in <listname>

where,

<elementname> - the instance variable name which holds the value of each element
<listname> - the list to be iterated.

Example

In the following sample code, val is the user-defined variable name which will hold the value of each element iterated in the sports_list.

for each val in sports_list
{
..........
.........
}

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com