Newby>> Ruby and method Gets... and Windows

In SciTE, you need to focus on the frame that appears on the right where
you can see "Hi what's your name?" - that's where you should type your
input.

···

-----Original Message-----
From: Alex [mailto:alex@alex.xom]
Sent: Monday, 3 April 2006 7:29 AM
To: ruby-talk ML
Subject: Newby>> Ruby and method Gets... and Windows

Hi,

i'm under Windows XP SP2 and i installed OneClick Installer.
So, i began to
read some documentations and i learnt to use the gets's method.

So nothing hard in that, i wrote my program in SciTE:

puts "Hi what's your name?"
nom = gets
puts "OK Hi " + nom

But it don't work. A windows with "c:\ruby\bin\ruby.exe" in
the titlebar
appear but i can't write anything in it. Nothing. So i close
the windows and
in SciTE i have it:
Exit code: -1073741510

It works, thanks a lot!
Alex

"Daniel Sheppard" <daniels@pronto.com.au> a écrit dans le message de news:
B04198C509E7ED47A0E3191B132CC48A136C93@melbmail.pronto.com.au...
In SciTE, you need to focus on the frame that appears on the right where
you can see "Hi what's your name?" - that's where you should type your
input.

···

-----Original Message-----
From: Alex [mailto:alex@alex.xom]
Sent: Monday, 3 April 2006 7:29 AM
To: ruby-talk ML
Subject: Newby>> Ruby and method Gets... and Windows

Hi,

i'm under Windows XP SP2 and i installed OneClick Installer.
So, i began to
read some documentations and i learnt to use the gets's method.

So nothing hard in that, i wrote my program in SciTE:

puts "Hi what's your name?"
nom = gets
puts "OK Hi " + nom

But it don't work. A windows with "c:\ruby\bin\ruby.exe" in
the titlebar
appear but i can't write anything in it. Nothing. So i close
the windows and
in SciTE i have it:
Exit code: -1073741510