On Wed, 29 Dec 2004 00:59:14 +0900, Joao Pedrosa <joaopedrosa / gmail.com> wrote: > Hi, > > On Wed, 29 Dec 2004 00:51:48 +0900, Bob <clarke / qualitythink.com> wrote: > > Do some methods / functions not work in the WinXP implementation? > > > > The array sort do not seem to work. > > > > a=["b", "a", "d"] > > > > print a => bad > > > > a.sort > > You need a.sort! if you wish the elements in the array to be changed. > In Ruby, the exclamation mark is used in the method if it changes > something in its object. Or else, you can a = a.sort and recapture the > sorted array. > > > > > print a => bad > > > > (this is right out of the documentation!) > > > > and > > > > inline_string="yo" > > > > print "yada yada #(inline_string) yada yada " =>prints as "yada yada > > #(inline_string) yada yada" not "yada yada yo yada yada" > > Instead of parentheses, you need {} (At the moment it does not occur > to me how they are called in English.) Braces? :) > > > > > What gives, I am missing a library or something? > > I installed the windows one click installer. > > Runing WinXp pro, Xitami webserver, > > > > thanks > > bobc > > Cheers, > Joao > > -- Premshree Pillai http://www.livejournal.com/~premshree