Re: Mathematica does not see "}"
- To: mathgroup at smc.vnet.net
- Subject: [mg131913] Re: Mathematica does not see "}"
- From: Sseziwa Mukasa <mukasa at gmail.com>
- Date: Mon, 28 Oct 2013 23:26:36 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <20131028044048.A98DC6A20@smc.vnet.net>
The problem is the "\042 " in WordSeparator, the \0 is terminating the string when I cut an paste, but if I retype the WordSeparator it works. That said, is Null '4' '2' really the sequence separating words? On Oct 28, 2013, at 12:40 AM, J=E1nos L=F6bb <janos at lobb.com> wrote: > Hi, > Any good idea why Mathematica 9.0.1 on MacOSX 10.8.5 is complaining about this line below? Sorry for the Input text, but plain text do not show it. > In the code I copied and pasted this line from another place, but that should not matter. or should ? > Looks to me that Mathematica is not seeing the "}" character on this line. Looks like it puts some invisible dirt there. I do not want to retype every character in the code. Copy and Paste should work. > > pLfmDerivationArray = > Table[Read[rawfp, Word, WordSeparators -> {"\042 "}],{1}] > > > Syntax::bktmcp : "Expression \"\[NoBreak]{"\042 "}],{1}]\ > \[IndentingNewLine]\[NoBreak]\" has no closing \"\[NoBreak]"}"\ > \[NoBreak]\"\[NoBreak]""\[NoBreak]." > > Syntax::bktmcp : "Expression \"\[NoBreak]{"\042 "}],{1}]\ > \[IndentingNewLine]\[NoBreak]\" has no closing \"\[NoBreak]"}"\ > \[NoBreak]\"\[NoBreak]""\[NoBreak]." > > Syntax::sntxi : "Incomplete expression; more input is needed \ > \[NoBreak]""\[NoBreak]." > > > or > > > pLfmDerivationArray = > Table[Read[rawfp, Word, WordSeparators -> {"\042 "}],{1}] > > Syntax::bktmcp : "Expression \"\[NoBreak]{"\042 "}],{1}]\[NoBreak]\" \ > has no closing \"\[NoBreak]"}"\[NoBreak]\"\[NoBreak]""\[NoBreak]." > > Syntax::bktmcp : "Expression \"\[NoBreak]{"\042 "}],{1}]\[NoBreak]\" \ > has no closing \"\[NoBreak]"}"\[NoBreak]\"\[NoBreak]""\[NoBreak]." > > Syntax::sntxi : "Incomplete expression; more input is needed \ > \[NoBreak]""\[NoBreak]." > > > Thanks ahead, > J=E1nos > P.S. Trying to catch up from version 5.2 :-) Vince and roby thanks for the good tips for reading bits. UnsignedInteger24 mastered to avoid my attention. > > After some deleting and retyping the same, finally Mathematica was satisfied with this line: > > pLfmDerivationArray = > Table[Read[rawfp, Word, WordSeparators -> {"\042"}], {1}] > > I do not see any difference. Is this a bug or what ? >
- References:
- Mathematica does not see "}"
- From: János Löbb <janos@lobb.com>
- Mathematica does not see "}"