[GAP Forum] Runtime

Tim Kohl tkohl at math.bu.edu
Fri Jul 18 14:42:34 BST 2014




One thing to note about using Print for diagnostics is that sometimes the output may be buffered
so that you don't always see the loop index as the loop is proceeding. In that instance the Display()
command is a better option since it's not buffered and so you'll get 'real time' information.

	-Tim


On Thu, 17 Jul 2014, Benjamin Sambale wrote:

> Infinity. Example: while true do od;
> 
> However, you can use various Print commands so that you can see what your
> program is actually doing right now. For example:
> 
> for i in [1..1000] do
> Print(i," ");
> ...
> 
> 
> Best,
> Benjamin
> 
> Am 17.07.2014 08:29, schrieb Sugandha Maheshwary:
> > How long shall I wait to get an output in GAP? At times, a program runs for
> > hours (or even days) but their is no output or fail prompt. What is the
> > maximum time that a command in GAP might take?
> >
> > Thanks
> >
> > Sugandha.
> > _______________________________________________
> > Forum mailing list
> > Forum at mail.gap-system.org
> > http://mail.gap-system.org/mailman/listinfo/forum
> >
> 
> 
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
> 
> 




More information about the Forum mailing list