Loops in ada and the implementation
Posted
by maddy
on Stack Overflow
See other posts from Stack Overflow
or by maddy
Published on 2010-04-23T04:44:34Z
Indexed on
2010/04/23
5:03 UTC
Read the original article
Hit count: 365
HI all,
Below is a piece of code shown and doubts are regarding the implementation of loops
C := character'last;
I := 1;
K : loop
Done := C = character'first;
Count2 := I;
Exit K when Done;
C := character'pred(c);
I := I + 1;
end loop K;
Can anyone please tell me what does 'K' stands for.I guess its not a variable.How does 'K' control the execution of the loop?
Thanks
Maddy
© Stack Overflow or respective owner