while loop
خولی while
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A loop that checks its condition first and repeats its block as long as the condition is true. If the condition is false at the start, the block never runs.
جۆرێکە لە کە سەرەتا دەپشکنێت و مادام ڕاست بێت، بلۆکەکەی دووبارە دەکاتەوە. ئەگەر مەرجەکە لە سەرەتاوە هەڵە بێت، بلۆکەکە هەرگیز جێبەجێ ناکرێت.
Exampleنموونە
Counts from 1 to 5.
لە 1 تا 5 دەژمێرێت.
$i = 1;
while ($i <= 5) {
echo $i;
$i++;
}
// 12345Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
لووپی while، خولەکەی while، خولەکانی while، خولێکی while
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Loops: while, do...while, for, foreach, break and continueخولەکان: while و do...while و for و foreach و break و continue
- while Loops, break and continueخولەکانی while، break و continue
- The while Loopخولی while
- Controlling Loops: break and continueکۆنترۆڵکردنی خولەکان:
breakوcontinue - The for Loop and range()خولی for و
range() - Dart Basics: Variables, Types and Control Flowبنەماکانی Dart: گۆڕاوەکان، جۆرەکان و ڕێڕەوی کۆنترۆڵ
- Project: A Word-Scramble Gameپڕۆژیلە: یاریی پیتە تێکەڵەکان
- Inserting and selecting data with PHPزیادکردن و هەڵبژاردنی زانیاری بە PHP
- Adding to a List and Finding Itemsزیادکردن بۆ لیستێک و دۆزینەوەی دانەکان
- Functionsکردارەکان
- Connecting PHP to MySQLپەیوەندیکردنی PHP بە MySQL
- Nested Loops and Patternsخولە ناوەکییەکان و کێشانی شێوە
- Python Next to JavaPython لە تەنیشت Javaـەوە
- for Loops: Sums, Series and Searchingخولەکانی for: کۆکردنەوە، زنجیرە و گەڕان
- Project: Finding Roots Numericallyپڕۆژە: دۆزینەوەی ڕەگ بە ڕێگە ژمارەییەکان
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Building Tic-Tac-Toe in Pythonدروستکردنی یاریی ئێکسوئۆ بە Python
- Operators and Expressionsکارپێکەرەکان و دەربڕینەکان
- Making Decisions: if, elif, elseبڕیاردان:
if،elifوelse - Defining and Calling Functionsناساندن و بانگکردنی کردارەکان
- Removing Items, Joining and Comparing Listsلابردنی دانەکان، پێکەوەلکاندن و بەراوردکردنی لیستەکان
- Handling Errors with try and exceptمامەڵەکردن لەگەڵ هەڵاوێردە بە try و except
- Making Decisions: Relational Operators and if / elseif / elseبڕیاردان: کارپێکەرەکانی بەراوردکردن و if / elseif / else