The function output() doesn't seem to interpret the escape sequences, e.g.
"\n". So,
the only way to add a blank line is to add output("") at the end of each
function to
separate its outputs from other functions for better readability.
On Tuesday, December 9, 2025 at 1:00:00 PM UTC-6 [email protected] wrote:
> I still don't understand this...
>
> > (B1, B2, B3) : Vector F
>
> > SetVecs() ==
> > free B1, B2, B3
> > B1 := [1, 2, 3]
> > B2 := [2, 3, 1]
> > B3 := [3, 1, 2]
> > output("")
>
> Why not defining a macro like this ...
>
> SetVecs(B1,B2,B3) =>
> B1 := [1, 2, 3]
> B2 := [2, 3, 1]
> B3 := [3, 1, 2]
>
> It's a bit unclear to me, why you add output("") at the end of your
> function. You certainly know that a semicolon after an expresssion
> suppresses its output.
>
> Ralf
>
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/960c9873-f461-40d1-87cf-11c6fd707d8dn%40googlegroups.com.