>
>a = 1
>b = 2
>c = 10
>DO WHILE a <= c
> a = a + 1
>ENDDO
>? a
>
>
>What is a?
>
>Is this a trick question?
Why a trick?
You increment a as long as it is smaller or even c. So it breaks at a =
11b is superflous
In general:
if start of a<=c, a = c+1
if start of a>c , a = a
Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]