Loops in ada and the implementation
- by maddy
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