QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

See WHILE…WEND.

The WHILE condition is used in WHILE…WEND or DO…LOOP loops to exit them.

Syntax

DO [WHILE] evaluation . . . LOOP [WHILE] evaluation

Relational Operators:

Symbol Condition Example Usage
= Equal IF a = b THEN
<> NOT equal IF a <> b THEN
< Less than IF a < b THEN
> Greater than IF a > b THEN
<= Less than or equal IF a <= b THEN
>= Greater than or equal IF a >= b THEN

See Also