Hello everybody !

I learn a lot with all your mails.

I use to add a lot of spy-print in mysterious functions. 
So I add print or output lines as bellow in a test, but I can't compile.

In an *.input file I have no problem with output.

I try the easiest print, with or without coerce ::, with or without $.

      output ("a string"::OutputForm)$OutputPackage
      output (1::OutputForm)$OutputPackage
-- or     print ("num::OutputForm"::OutputForm)$PrintPackage
--      print ("num::OutputForm")$PrintPackage
--      output "den::OutPutForm" 


In the manip.spad file there are num and den that I try to print 
(in kerexpand about line 790)

      num := numer arg
      den := denom arg

They are perhaps of type : SparseMultivariatePolynomial(R, Kernel $)

1/ How can I print theses variables ?
2/ What function must I use : print or output ?
   What is the difference between.


Now I get error as :

$x:= (output (:: (One) (OutputForm)))
$m:= NoValueMode
$f:=
((((|den| #) (|num| #) (#:G227562 #) (#:G227561 #) ...) ((|simplifyLog1| #) 
(|logArgs| #)) ((|logArgs| #) (|#| # #) (< # # #) (<= # # #) ...)))
 
   >> Apparent user error:
   NoValueMode
    is an unknown mode

Thanks a lot.

François


_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to