[Newby] Scite, irb question

B

Brent W. Hughes

I've recently downloaded Ruby which includes the Scite editor. I get
into the editor and select "Run irb" from the Tools menu. I get irb
running in the right column. Then I type 123 and find that each
character is duplicated. That is:

irb(main):001:0> 112233

=> 123

What gives?

Brent
 
C

Chris Pine

When using irb, or when running programs which ask for keyboard input
(via 'gets' or something like that), I'd recommend just using your
good-ol' Windows Command Prompt.

I only use the F5 (runs your ruby program) if it's a non-interactive progra=
m.

On a totally unrelated note, I don't know how newby you are, but if
you've never done any programming before, you might get something out
of a tutorial I wrote (which, like Pinocchio, dreams of being a real
book, and may soon get its wish!)

http://pine.fm/LearnToProgram/

Welcome to Ruby!

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top