"foreach loop" meaning in English

See foreach loop in All languages combined, or Wiktionary

Noun

Forms: foreach loops [plural]
Head templates: {{en-noun|head=foreach loop}} foreach loop (plural foreach loops)
  1. (programming) A section of code similar to a for loop, but repeating a series of instructions for every item in a collection. Categories (topical): Programming

Inflected forms

{
  "forms": [
    {
      "form": "foreach loops",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {
        "head": "foreach loop"
      },
      "expansion": "foreach loop (plural foreach loops)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "glosses": [
        "A section of code similar to a for loop, but repeating a series of instructions for every item in a collection."
      ],
      "id": "en-foreach_loop-en-noun-hgQsn4HS",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "for loop",
          "for loop"
        ],
        [
          "repeat",
          "repeat"
        ],
        [
          "instruction",
          "instruction"
        ],
        [
          "item",
          "item"
        ],
        [
          "collection",
          "collection"
        ]
      ],
      "raw_glosses": [
        "(programming) A section of code similar to a for loop, but repeating a series of instructions for every item in a collection."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "foreach loop"
}
{
  "forms": [
    {
      "form": "foreach loops",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {
        "head": "foreach loop"
      },
      "expansion": "foreach loop (plural foreach loops)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "Pages with 1 entry",
        "Pages with entries",
        "en:Programming"
      ],
      "glosses": [
        "A section of code similar to a for loop, but repeating a series of instructions for every item in a collection."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "for loop",
          "for loop"
        ],
        [
          "repeat",
          "repeat"
        ],
        [
          "instruction",
          "instruction"
        ],
        [
          "item",
          "item"
        ],
        [
          "collection",
          "collection"
        ]
      ],
      "raw_glosses": [
        "(programming) A section of code similar to a for loop, but repeating a series of instructions for every item in a collection."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "foreach loop"
}

Download raw JSONL data for foreach loop meaning in English (1.0kB)


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2025-01-08 from the enwiktionary dump dated 2025-01-01 using wiktextract (9a96ef4 and 4ed51a5). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.