comments in maxima



Raymond Toy wrote:
>>>>>> "Mehmet" == Mehmet Suzen <mehmet.suzen at physics.org> writes:
> 
>     Mehmet> Hi All,
>     Mehmet> A novice question. How can one add comments in modules or in functions? 
>     Mehmet> I'd like to see some comments in the code when I write the functions
>     Mehmet> with save(). Is it against the LISP logic?
> 
> Maxima uses C-style comments like so:
> 
> /* This is a comment */
> 
> Not sure what you mean by "against the LISP logic".
> 
> Ray


What I meant why I'm not getting comments with save()

-M

PS : for example:

> (%i1) f(x,y):=(z: x+y, 
> /* my comment */
> z);
> (%o1)                      f(x, y) := (z : x + y, z)
> (%i2) save("my.lisp",f);
> (%o2)                               my.lisp
> (%i3) printfile("my.lisp");
> ;;; -*- Mode: LISP; package:maxima; syntax:common-lisp; -*- 
> (in-package :maxima)
> (MDEFPROP $F
>  ((LAMBDA) ((MLIST) $X $Y) ((MPROGN) ((MSETQ) $Z ((MPLUS) $X $Y)) $Z)) MEXPR) 
> (ADD2LNC '(($F) $X $Y) $FUNCTIONS) (%o3)