Re: Is there ever a case where two consecutive commas in not an error?
- To: mathgroup at smc.vnet.net
- Subject: [mg130279] Re: Is there ever a case where two consecutive commas in not an error?
- From: Helen Read <readhpr at gmail.com>
- Date: Sun, 31 Mar 2013 03:14:30 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <kj66el$ogj$1@smc.vnet.net>
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 > > > > > >