Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13987

Re: Is there ever a case where two consecutive commas in not an error?

From David Reiss <dbreiss@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Is there ever a case where two consecutive commas in not an error?
Date 2013-04-01 04:56 +0000
Message-ID <kjb42l$8j8$1@smc.vnet.net> (permalink)
References <kj66el$ogj$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Although, as others have pointed out already a double comma may not be
a syntactically incorrect form in many circumstances (i.e., Null in
between the commas has meaning), it certainly is often a source of a
bug that is hard to track down.  I believe that Workbench highlights
double commas (correct me if I am wrong) just for this reason.

On Mar 30, 4:06 am, W Craig Carter <ccar...@MIT.EDU> wrote:
> Hello,
> I am wondering if there is ever a case where ",,"  is not an error.
> For example, I make syntax errors like this:
>
> Plot[x,{x,0,1},ImageSize->Large,BaseStyle->Large,PlotRange->{All,{0,2}},,Pl otLabel->"label",Epilog->Line[{{0,0},{1,.5}}]]
>
> very often, and searching for them would be easier with highlighting.
>
> If ",," is never not an error, shouldn't it be a candidate for error syntax highlighting?
> (or, If ",," is always an error, it should be a candidate for error syntax highlighting)
>
> Craig Carter

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Is there ever a case where two consecutive commas in not an error? W Craig Carter <ccarter@MIT.EDU> - 2013-03-30 08:06 +0000
  Re: Is there ever a case where two consecutive commas in not an error? debguy <johnandsara2@cox.net> - 2013-03-31 07:10 +0000
  Re: Is there ever a case where two consecutive commas in not an error? Peter Pein <petsie@dordos.net> - 2013-03-31 07:11 +0000
  Re: Is there ever a case where two consecutive commas in not an error? Helen Read <readhpr@gmail.com> - 2013-03-31 07:11 +0000
    Re: Is there ever a case where two consecutive commas in not an error? debguy <johnandsara2@cox.net> - 2013-04-01 04:57 +0000
  Re: Is there ever a case where two consecutive commas in not an error? David Reiss <dbreiss@gmail.com> - 2013-04-01 04:56 +0000

csiph-web