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/5dea1c81-cde3-4b70-ba40-eca8a0b41c47%40hemmecke.org.

Reply via email to