HP Prime for All

English  Русский 

Syntax

WHILE test DO command(s) END;

Description

executes command(s) WHILE the test is true. A:=5; WHILE A>1 DO PRINT(A); A:= A-1; END; will print 5 4 3 2 1

WHILE — Discussion