MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Syntax error using (*comments*)

  • To: mathgroup at
  • Subject: [mg23969] Re: Syntax error using (*comments*)
  • From: "Atul Sharma" <atulksharma at>
  • Date: Sun, 18 Jun 2000 03:00:51 -0400 (EDT)
  • Organization: McGill University
  • References: <8icco2$>
  • Sender: owner-wri-mathgroup at

I don't know about Linux, but in transporting notebooks created on a Mac to
the Windows version, this problem is largely avoided by clearly separating
comments with semicolons or by including comments only in text cells. It's
labor intensive, but saves a lot of grief in the long-run. I'm not sure why
the parser has trouble with comments, but I pulled out a lot of hair when I
needed to move a large number of notebooks from one platform to the other.


Atul Sharma MD, FRCP(C)
Pediatric Nephrologist,
McGill University/Montreal Children's Hospital

Grischa Stegemann wrote in message <8icco2$9om at>...
>(It seems that my first posting didn't made it through to other
>news-servers, thus I have to try it again. Sorry if this will lead to
>an annoying double-posting.)
>Hi all
>I just encountered a silly problem with the Mathematica 3.0 frontend
>on a Linux system.
>Typing a simple cell including a comment like
>  In[1]:= 4+3 (*guess what*)
>and evaluating it results in the following output:
>  Out[1]= 4+3 Null
>Furthermore, adding a comma to the comment, e.g.
>  In[2]:= 4+3 (*9, more or less*)
>brings up this:
>  Out[2]= Syntax::"sntxf": "(*" cannot be followed by "9, more or
>  less*)"
>To me this seems to be pretty inexplicable, isn't it?
>Usually I'm using Mathematica 3.0 on a Solaris system without any
>problems. Now using my notebooks full of comments on this Linux system
>seems to be impractical.
>Any ideas about that?
>                         Grischa
>Grischa Stegemann                       Technische Universitaet Berlin
>email: Stegemann at
>*** We are here on Earth to do good for others.
>*** What the others are here for, I do not know.  (W.H. Auden)

  • Prev by Date: Re: problems saving and opening notebooks using menus
  • Next by Date: Re: Manipulating List Elements In Programs
  • Previous by thread: Re: Syntax error using (*comments*)
  • Next by thread: Re: Syntax error using (*comments*)