MathGroup Archive 1998

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

Search the Archive

Help on (* comments *)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13779] Help on (* comments *)
  • From: Gadi Oron <oron at manet.pmmh.espci.fr>
  • Date: Mon, 24 Aug 1998 05:07:27 -0400
  • Organization: Acces regional Ile-de-France (Univ. Paris VI/VII) - France
  • Sender: owner-wri-mathgroup at wolfram.com

Hello everybody.

Can someone help me with this one?

I'm trying to use comment "(* *)" normally but all I get is some strange
behavior. More precisely, I get "Null" for (nearly) every comment I
use. Ex:

In: 	{1,2 (*Two*),3}
Out: 	{1,2 Null,3}

Or sometimes just errors:

In:	If[2>1, 1 (* then*), (* else*) 2] Out:	

Syntax::"sntxf": "If[" cannot be followed by "(2 > 1), 1 (* then*) ,(*
else *) 2]"

Strangely, when I run the example in the online manual :

If[ a>b ,(*then*) p,(*else) q]

directly from the help notebook everything works fine, but if I copy it
to my notebook, bang, the Nulls are back!

I've noticed also that the text interface does not have this problem.

Any Idea what exactly is going on?

Thank you for your attention

Regards.
\/\\/\/\/>> Gadi ORON <<\/\/\/\/
EMAIL :  oron at pmmh.espci.fr  
Homepage : http://www.pmmh.espci.fr/~oron/personal.html ICQ#7316619



  • Prev by Date: Re: A hard Series problem.
  • Next by Date: Re: Running 3.0 remotely
  • Previous by thread: Q: ShowLegend
  • Next by thread: Help: Labels in Greek letter in Mathematica Plot