K
Karla Chubb
Okay so i just got a book call 'Learn to Program' by Chris Pine.
He suggests using Ruby Interpreter to run any programs i make.
So the first program he explains to make is a number one.
I use SciTE text editor and i wrote puts 1+2 and saved it as calc.rb
just as he said. So he tells me to run it so i go to run and type in
ruby calc.rb just like he says and something is supposed to come up and
say 3 but all my pc does is quickly flash my command prompt and then
nothing happens! How can i fix this? What am i doing wrong?
He suggests using Ruby Interpreter to run any programs i make.
So the first program he explains to make is a number one.
I use SciTE text editor and i wrote puts 1+2 and saved it as calc.rb
just as he said. So he tells me to run it so i go to run and type in
ruby calc.rb just like he says and something is supposed to come up and
say 3 but all my pc does is quickly flash my command prompt and then
nothing happens! How can i fix this? What am i doing wrong?