"foreach loop" meaning in All languages combined

See foreach loop on Wiktionary

Noun [English]

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 All languages combined (1.0kB)


This page is a part of the kaikki.org machine-readable All languages combined dictionary. This dictionary is based on structured data extracted on 2025-01-23 from the enwiktionary dump dated 2025-01-20 using wiktextract (0c0c1f1 and 4230888). 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.