TERMIUM Plus®

The Government of Canada’s terminology and linguistic data bank.

BREAK STATEMENT [2 records]

Record 1 2023-10-17

English

Subject field(s)
  • Programming Languages
  • Codes (Software)
CONT

With the help of a break statement a while loop can be left prematurely, i.e. as soon as the control flow of the program comes to a break inside of a while loop (or other loops), the loop will be immediately left.

French

Domaine(s)
  • Langages de programmation
  • Codes (Logiciels)
CONT

Contrairement aux instructions présentes après la boucle, qui s'exécutent dans tous les cas (avec ou sans interruption par un break), le bloc d'instructions défini dans la clause else ne s'exécutera pas lors de l'interruption par un break. Après l'interruption, on passera directement aux instructions après la boucle.

OBS

instruction briser : les langages de programmation étant majoritairement en anglais, il est préférable d'éviter l'utilisation de la désignation française «instruction briser», qui risque de ne pas être comprise par les spécialistes du domaine.

Spanish

Save record 1

Record 2 2021-12-22

English

Subject field(s)
  • Programming Languages
  • Codes (Software)
CONT

Break statement in Python is used to bring the control out of the loop when some external condition is triggered. Break statement is put inside the loop body (generally after if condition).

French

Domaine(s)
  • Langages de programmation
  • Codes (Logiciels)

Spanish

Save record 2

Copyright notice for the TERMIUM Plus® data bank

© Public Services and Procurement Canada, 2024
TERMIUM Plus®, the Government of Canada's terminology and linguistic data bank
A product of the Translation Bureau

Features

Language Portal of Canada

Access a collection of Canadian resources on all aspects of English and French, including quizzes.

Writing tools

The Language Portal’s writing tools have a new look! Easy to consult, they give you access to a wealth of information that will help you write better in English and French.

Glossaries and vocabularies

Access Translation Bureau glossaries and vocabularies.

Date Modified: