From: Derek Perrault Date: 2006-04-03T08:13:56+09:00 Subject: Re: Newby>> Ruby and method Gets... and Windows ------=_Part_49_21666066.1144019633454 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Or you can still use SciTE to get the syntax coloring, but follow William's advice by only running your scripts in DOS. On 4/2/06, William James wrote: > > Alex wrote: > > Hi, > > > > i'm under Windows XP SP2 and i installed OneClick Installer. So, i bega= n > to > > read some documentations and i learnt to use the gets's method. > > > > So nothing hard in that, i wrote my program in SciTE: > > Don't use SciTE. It isn't part of Ruby. Use your favorite text > editor (even Notepad). Save the program as "name.rb" and run it > from the DOS prompt with > > ruby name.rb > > (To open a DOS prompt, click on > Start / Programs / Accessories / Command prompt.) > > > > > puts "Hi what's your name?" > > nom =3D gets > > puts "OK Hi " + nom > > > > But it don't work. A windows with "c:\ruby\bin\ruby.exe" in the titleba= r > > appear but i can't write anything in it. Nothing. So i close the window= s > and > > in SciTE i have it: > > Exit code: -1073741510 > > > > Can you help me please? And please, don't tell me i have to work under > Linux > > ;o) > > > > Thanks > > > > Alex > > > ------=_Part_49_21666066.1144019633454--