wrote:
> RichardOnRails <RichardDummyMailbox58...@USComputerGurus.com> writes:
> > On Jan 25, 10:04 am, Christian Neukirchen <
chneukirc...@gmail.com>
> > wrote:
> >> RichardOnRails <RichardDummyMailbox58...@USComputerGurus.com> writes:
> >> > Hi,
>
> >> > I have the 11-line script below. Ruby 1.9.3 barfs on line 8 with the
> >> > error msg in the comment on that line.
> >> > print "Search what: D = Docs; C = Current
>
> >> ^ Missing "
>
> > Thanks, Christian. It's strange that the missing quote didn't cause a
> > syntax error on earlier statements.
>
> Multi-line strings are no problem in Ruby:
>
> string = "that spans
> multiple
> lines"
>
> I'd recommend you to get an editor with smart indentation (or syntax
> highlighting, if you prefer). It will discover such errors quickly.
>
> --
Thanks for your additional advice. I use SciTE, which fortunately
provides syntax coloring. I did notice some odd coloring but didn't