From: Cliff Rosson Date: 2013-03-13T06:50:15+09:00 Subject: Re: Confusion with Strings --485b397dd4fb371b8f04d7c146f3 Content-Type: text/plain; charset=ISO-8859-1 What usually happens is you guys respond in haste, usually with an angry tone. He figures it out on his own, despite the responses, by finally stumbling through it in IRB 30 minutes later. Why not just ignore him? Force him to fart around in IRB until he answers his own question? This would, in part, clean up some of the negative tone that has plagued the list recently. On Tue, Mar 12, 2013 at 2:44 PM, wrote: > Am 12.03.2013 21:44, schrieb Cliff Rosson: > > Language problems here. Not worth getting worked up over imho. >> > > I disagree, considering the by now hundreds(!) of pointless, > unreflected, confused posts. > > Instead of helping people with real problems, too many people > --myself included, sadly enough-- waste their time with these > endlessly dragged on discussions over banalities. > > > >> On Tue, Mar 12, 2013 at 1:40 PM, Love U Ruby > > wrote: >> >> @Scott. >> >> yes I do here it ia: >> >> >> s = "hello" >> => "hello" >> >> s["e"] = "u" >> => "u" >> >> s >> => "hullo" >> >> The answer to the line **a too-high or too-low numerical index ** >> >> >> str = 'aaa' >> => "aaa" >> >> str[-4] = "x" >> IndexError: index -4 out of string >> from (irb):57:in `[]=' >> from (irb):57 >> from C:/Ruby193/bin/irb:12:in `
' >> >> str[-5] = "x" >> IndexError: index -5 out of string >> from (irb):58:in `[]=' >> from (irb):58 >> from C:/Ruby193/bin/irb:12:in `
' >> >> str[4] = "x" >> IndexError: index 4 out of string >> from (irb):59:in `[]=' >> from (irb):59 >> from C:/Ruby193/bin/irb:12:in `
' >> >> Actually that word `too big` and `too small` made me to think too >> much.. >> lollzzzzzzz. >> >> Guys if my understanding with the line is wrong then please correct >> me. >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> >> >> >> -- >> vizualize.me/cliffrosson >> > >> > > > -- > > > -- vizualize.me/cliffrosson --485b397dd4fb371b8f04d7c146f3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
What usually happens is you guys respond in haste, usually= with an angry tone. He figures it out on his own, despite the responses, b= y finally stumbling through it in IRB 30 minutes later. Why not just ignore= him? Force him to fart around in IRB until he answers his own question? Th= is would, in part, clean up some of the negative tone that has plagued the = list recently.=A0


On Tue, Mar 1= 2, 2013 at 2:44 PM, <sto.mar@web.de> wrote:
Am 12.03.2013 21:44, schrieb Cliff Rosson:

Language problems here. Not worth getting worked up over imho.

I disagree, considering the by now hundreds(!) of pointless,
unreflected, confused posts.

Instead of helping people with real problems, too many people
--myself included, sadly enough-- waste their time with these
endlessly dragged on discussions over banalities.



On Tue, Mar 12, 2013 at 1:40 PM, Love U Ruby <lists@ruby-forum.com
<mailto:lists@= ruby-forum.com>> wrote:

=A0 =A0 @Scott.

=A0 =A0 yes I do here it ia:

=A0 =A0 =A0>> =A0s =3D "hello"
=A0 =A0 =3D> "hello"
=A0 =A0 =A0>> s["e"] =3D "u"
=A0 =A0 =3D> "u"
=A0 =A0 =A0>> s
=A0 =A0 =3D> "hullo"

=A0 =A0 The answer to the line **a too-high or too-low numerical index **
=A0 =A0 =A0>> str =3D 'aaa'
=A0 =A0 =3D> "aaa"
=A0 =A0 =A0>> str[-4] =3D "x"
=A0 =A0 IndexError: index -4 out of string
=A0 =A0 =A0 =A0 =A0 =A0 =A0from (irb):57:in `[]=3D'
=A0 =A0 =A0 =A0 =A0 =A0 =A0from (irb):57
=A0 =A0 =A0 =A0 =A0 =A0 =A0from C:/Ruby193/bin/irb:12:in `<main>'=
=A0 =A0 =A0>> str[-5] =3D "x"
=A0 =A0 IndexError: index -5 out of string
=A0 =A0 =A0 =A0 =A0 =A0 =A0from (irb):58:in `[]=3D'
=A0 =A0 =A0 =A0 =A0 =A0 =A0from (irb):58
=A0 =A0 =A0 =A0 =A0 =A0 =A0from C:/Ruby193/bin/irb:12:in `<main>'=
=A0 =A0 =A0>> str[4] =3D "x"
=A0 =A0 IndexError: index 4 out of string
=A0 =A0 =A0 =A0 =A0 =A0 =A0from (irb):59:in `[]=3D'
=A0 =A0 =A0 =A0 =A0 =A0 =A0from (irb):59
=A0 =A0 =A0 =A0 =A0 =A0 =A0from C:/Ruby193/bin/irb:12:in `<main>'=

=A0 =A0 Actually that word `too big` and `too small` made me to think too m= uch..
=A0 =A0 lollzzzzzzz.

=A0 =A0 Guys if my understanding with the line is wrong then please correct= me.

=A0 =A0 --
=A0 =A0 Posted via http://www.ruby-forum.com/.




--
v= izualize.me/cliffrosson <http://vizualize.me/cliffrosson>


--
<https://github= .com/stomar/>




-- --485b397dd4fb371b8f04d7c146f3--