"while loop" meaning in English

See while loop in All languages combined, or Wiktionary

Noun

Forms: while loops [plural]
Etymology: From the keyword while used in many programming languages for this purpose. Head templates: {{en-noun}} while loop (plural while loops)
  1. (programming) A section of computer code in which an instruction or group of instructions is repeated only while a certain condition continues to be met. Categories (topical): Programming Related terms: do loop, do-while loop, for loop Translations (section of code): while迴圈 (Chinese Cantonese), while回圈 (while wui⁴ hyun¹) (Chinese Cantonese), while循環 (Chinese Mandarin), while循环 (while xúnhuán) (Chinese Mandarin), while迴圈 (Chinese Mandarin), while回圈 (huíquān) (Chinese Mandarin), while-loop [neuter] (Danish), while-løkke [common-gender] (Danish), boucle while [feminine] (French), while-Schleife [feminine] (German), bucle mientras [masculine] (Spanish), bucle while [masculine] (Spanish)

Inflected forms

Download JSON data for while loop meaning in English (2.8kB)

{
  "etymology_text": "From the keyword while used in many programming languages for this purpose.",
  "forms": [
    {
      "form": "while loops",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "while loop (plural while 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": "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 computer code in which an instruction or group of instructions is repeated only while a certain condition continues to be met."
      ],
      "id": "en-while_loop-en-noun-GJ0S2sp5",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "instruction",
          "instruction"
        ],
        [
          "repeat",
          "repeat"
        ],
        [
          "condition",
          "condition"
        ]
      ],
      "raw_glosses": [
        "(programming) A section of computer code in which an instruction or group of instructions is repeated only while a certain condition continues to be met."
      ],
      "related": [
        {
          "word": "do loop"
        },
        {
          "word": "do-while loop"
        },
        {
          "word": "for loop"
        }
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "translations": [
        {
          "code": "yue",
          "lang": "Chinese Cantonese",
          "sense": "section of code",
          "word": "while迴圈"
        },
        {
          "code": "yue",
          "lang": "Chinese Cantonese",
          "roman": "while wui⁴ hyun¹",
          "sense": "section of code",
          "word": "while回圈"
        },
        {
          "code": "cmn",
          "lang": "Chinese Mandarin",
          "sense": "section of code",
          "word": "while循環"
        },
        {
          "code": "cmn",
          "lang": "Chinese Mandarin",
          "roman": "while xúnhuán",
          "sense": "section of code",
          "word": "while循环"
        },
        {
          "code": "cmn",
          "lang": "Chinese Mandarin",
          "sense": "section of code",
          "word": "while迴圈"
        },
        {
          "code": "cmn",
          "lang": "Chinese Mandarin",
          "roman": "huíquān",
          "sense": "section of code",
          "word": "while回圈"
        },
        {
          "code": "da",
          "lang": "Danish",
          "sense": "section of code",
          "tags": [
            "neuter"
          ],
          "word": "while-loop"
        },
        {
          "code": "da",
          "lang": "Danish",
          "sense": "section of code",
          "tags": [
            "common-gender"
          ],
          "word": "while-løkke"
        },
        {
          "code": "fr",
          "lang": "French",
          "sense": "section of code",
          "tags": [
            "feminine"
          ],
          "word": "boucle while"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "section of code",
          "tags": [
            "feminine"
          ],
          "word": "while-Schleife"
        },
        {
          "code": "es",
          "lang": "Spanish",
          "sense": "section of code",
          "tags": [
            "masculine"
          ],
          "word": "bucle mientras"
        },
        {
          "code": "es",
          "lang": "Spanish",
          "sense": "section of code",
          "tags": [
            "masculine"
          ],
          "word": "bucle while"
        }
      ]
    }
  ],
  "word": "while loop"
}
{
  "etymology_text": "From the keyword while used in many programming languages for this purpose.",
  "forms": [
    {
      "form": "while loops",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "while loop (plural while loops)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "do loop"
    },
    {
      "word": "do-while loop"
    },
    {
      "word": "for loop"
    }
  ],
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "en:Programming"
      ],
      "glosses": [
        "A section of computer code in which an instruction or group of instructions is repeated only while a certain condition continues to be met."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "instruction",
          "instruction"
        ],
        [
          "repeat",
          "repeat"
        ],
        [
          "condition",
          "condition"
        ]
      ],
      "raw_glosses": [
        "(programming) A section of computer code in which an instruction or group of instructions is repeated only while a certain condition continues to be met."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "translations": [
    {
      "code": "yue",
      "lang": "Chinese Cantonese",
      "sense": "section of code",
      "word": "while迴圈"
    },
    {
      "code": "yue",
      "lang": "Chinese Cantonese",
      "roman": "while wui⁴ hyun¹",
      "sense": "section of code",
      "word": "while回圈"
    },
    {
      "code": "cmn",
      "lang": "Chinese Mandarin",
      "sense": "section of code",
      "word": "while循環"
    },
    {
      "code": "cmn",
      "lang": "Chinese Mandarin",
      "roman": "while xúnhuán",
      "sense": "section of code",
      "word": "while循环"
    },
    {
      "code": "cmn",
      "lang": "Chinese Mandarin",
      "sense": "section of code",
      "word": "while迴圈"
    },
    {
      "code": "cmn",
      "lang": "Chinese Mandarin",
      "roman": "huíquān",
      "sense": "section of code",
      "word": "while回圈"
    },
    {
      "code": "da",
      "lang": "Danish",
      "sense": "section of code",
      "tags": [
        "neuter"
      ],
      "word": "while-loop"
    },
    {
      "code": "da",
      "lang": "Danish",
      "sense": "section of code",
      "tags": [
        "common-gender"
      ],
      "word": "while-løkke"
    },
    {
      "code": "fr",
      "lang": "French",
      "sense": "section of code",
      "tags": [
        "feminine"
      ],
      "word": "boucle while"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "section of code",
      "tags": [
        "feminine"
      ],
      "word": "while-Schleife"
    },
    {
      "code": "es",
      "lang": "Spanish",
      "sense": "section of code",
      "tags": [
        "masculine"
      ],
      "word": "bucle mientras"
    },
    {
      "code": "es",
      "lang": "Spanish",
      "sense": "section of code",
      "tags": [
        "masculine"
      ],
      "word": "bucle while"
    }
  ],
  "word": "while loop"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-05 from the enwiktionary dump dated 2024-05-02 using wiktextract (f4fd8c9 and c9440ce). 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.