On 17/03/2015, Dima Pasechnik <dimp...@gmail.com> wrote: > > > On Monday, 16 March 2015 14:52:39 UTC, Simon King wrote: >> >> Hi Dima, >> >> On 2015-03-16, Dima Pasechnik <dim...@gmail.com <javascript:>> wrote: >> > The usual way to save a particular GAP object is to print it to a >> file... >> > (cf. GAP's PrintTo and AppendTo) >> >> Can these functions be modified so that they do not print into a file but >> >> return a string? > > > There is PrintString function that does this.
hum gap> PrintString(Group([(1,2),(3,4)])); "Group( \>[ (1,2), (3,4) ]\<\> )\<" What is this bunch of \< and \>? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.