> if m < 0 then > k := -m > else > k := m
Why not k := if m < 0 then -m else m ? Isn't SPAD like Aldor in this case? The "if" construction has a value if both branches return something of the same type? 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 fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.