Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Help on (* comments *)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13377] Help on (* comments *)
  • From: Gadi Oron <oron at manet.pmmh.espci.fr>
  • Date: Mon, 20 Jul 1998 02:50:38 -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: Conditions on patterns in Flat functions
  • Next by Date: Re: keys in a hash table (aka, all assigned indices in an array): awful hack
  • Previous by thread: Re: Conditions on patterns in Flat functions
  • Next by thread: output to a plain text file