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


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

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

From Helen Read <readhpr@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-03-31 07:11 +0000
Message-ID <kj8nil$1rs$1@smc.vnet.net> (permalink)
References <kj66el$ogj$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


I don't think it's always an error. For example, you can have a list 
with empty entries. This happens a lot when I import Excel files. If 
there are empty cells in the spreadsheet, you get ",,"

Now, in a Plot it might always be an error, but it isn't generally.

Helen Read
University of Vermont

On 3/30/2013 4:06 AM, W Craig Carter 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}},,PlotLabel->"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 | Next 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