{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Do Loop operators

The block of statements will be executed while or until the condition returns true. The number of times the statements will be executed can be unknown.

A Do loop can be left immediately with the Exit Do statement.

Usage:

Do While //(condition)//
		//(statements)//
Loop

The "Do While" operator check the condition. If the condition is true then it executes the statement while the condition is true.

Do Until //(condition)//
		//(statements)//
Loop

The "Do Until" operator check the condition. If the condition is false then it executes the statement until the condition is true.

Do
		//(statements)//
Loop While //(condition)//

The "Do Loop While" operator executes the statement and then it checks the condition. If the condition is true then it executes the statement again while the condition is true.

Do
		//(statements)//
Loop Until //(condition)//

The "Do Loop Until" operator executes the statement and then it checks the condition. If the condition is false then it executes the statement again until the condition is true.

SEP IT AG
sep.ch verwendet Cookies und ähnliche Technologien, um das Nutzererlebnis auf unserer Webseite zu verbessern und unseren Datenverkehr zu analysieren. Mehr Informationen in unserer Datenschutzerklärung


Help - Do loops (Basic)