You need to flush the buffer with \c:

Print("print now\c");

On 21/12/2012, at 5:46 PM, Anvita <[email protected]> wrote:

> Dear Forum,
> 
> Why does the program
> 
> -------------------------------------
> repeat
> Print("Before the pause...");
> for i in [1..2^28-1] do od;  # pause
> Print("After the pause\n");
> until true;
> -------------------------------------
> 
> behave in the same way as
> 
> -------------------------------------
> repeat
> for i in [1..2^28-1] do od;  # pause
> Print("Before the pause...");
> Print("After the pause\n");
> until true;
> -------------------------------------
> 
> instead of printing the first message immediately?
> 
> Thank you,
> Anvita
> _______________________________________________
> Forum mailing list
> [email protected]
> http://mail.gap-system.org/mailman/listinfo/forum


_______________________________________________
Forum mailing list
[email protected]
http://mail.gap-system.org/mailman/listinfo/forum

Reply via email to