Dear Forum, dear Kurt,
you asked:
what must I do that a programm prints text and objects.
f.i. "All Subgroups of order " n
You can use the `Print' function (see Print in the online reference
manual for details).
In your case,
Print ("All Subgroups of order ", n, "\n");
should do what you desire. The "\n" at the end is the end-of-line
symbol and causes GAP to print out the entire line and start a new
one.
See "Special Characters" in the manual.
Cheers,
Burkhard.