Re: Re: Select?

Erik Sigra <[email protected]> Sun, 30 Mar 2003 20:15:19 +0200
Newsgroups gmane.comp.lang.ada.sockets
Message-ID <[email protected]>
söndagen den 30 mars 2003 17.47 skrev Björn Lundin:
>   loop
>     declare
>        Reply : string (1..10);
>        Do_Exit : Boolean := False;
>        Answer : string := Get_Line(A_Socket);
>     begin
>        Handle_Answer_And_Do_Some_Action(Answer,Do_Exit,Reply);
>        Send_Back_Reply(A_Socket,Reply);
>     end;
>     exit when Do_Exit;
>   end loop;

It looks like you want to use the variable Do_Exit outside its scope.
_______________________________________________
AdaSockets mailing list
[email protected]
http://www.rfc1149.net/mailman/listinfo/adasockets