From: William James Date: 2007-09-07T00:30:05+09:00 Subject: Re: running ruby On Sep 6, 10:05 am, yahdoco wrote: > Hi Everyone...With the help of trial and error, I have made some > progress. I modified my hello.rb file by adding some ruby code that I > found on the web. The added code contained an analysis of a stock > using a yahoo website. (Actually, my interest in ruby is to do some of > my own stock market analysis). In the code was a request to enter a > stock symbol. This request kept the ruby window (with the "Hello > World" statement) on my desktop as it waited for me to enter a stock > symbol. Once I entered the symbol, a long calculation was made and > then the ruby window disappeared. Thus, one way to keep the window in > view is to add a request for input. I suppose a pause statement might > also work. > > (1)Is there another way to keep the window in > view until I enter an exit command? > > (2) I still have the problem that the window consists of white > characters on a black background. Is there a ruby command to change > the window or create another window with features that I can control? > > Thanks for your help. Yahdoco Your questions have already been answered. Your problem is that you don't know how to use the Windows console (also known as a DOS box). You need to learn how to use it before you attempt to learn to program in Ruby.