Skip to main content

While

While / End While (स्टेटमेंट)​

प्रारूप​

while बूलियन_व्यंजक
(टैब)स्टेटमेंट
end while

विवरण​

while लूप के अंदर के स्टेटमेंट तब तक चलाता है जब तक बूलियन_व्यंजक असत्य न हो जाए। While / End While स्टेटमेंटों को शून्य या अधिक बार चलाता है। जाँच लूप का कोड चलने से पहले होती है।

उदाहरण​

r = 1
while r < 6
print r
r = r + 1
end while

यह दिखाएगा:

1
2
3
4
5

यह भी देखें​

Begin Case / Case / End Case, Call, Continue Do, Continue For, Continue While, Do / Until, End, Exit Do, Exit For, Exit While, For / Next, For Each / Next, Function, Global, Goto, Gosub, If Then, Pause, Ref, Rem, Return, Subroutine, While / End While

इतिहास​

0.9.4gइस संस्करण में नया