From: Rob Biedenharn Date: 2008-02-23T04:25:25+09:00 Subject: Re: Sorry very newbie post! On Feb 22, 2008, at 1:30 PM, Steve wrote: > Ok so I just got myself Chris Pines book and started with the > questions in it and the first short prog I type in SciTE is > > puts 'Hi, what\`s your first name? ' what\'s That \ is probably meant to escape the ' inside a string literal that uses ' for delimiters. You can generally use either ' or " for string literals (the differences will be made clear later in the book). Try: puts "Hi, what's your first name? " > > name = gets > puts 'your name is ' + name > > save it and run and get a command box which waits for me to exit and > then get the message > H what\`s your first name? > Exit code: -1073741510 > eh??. Not looking good!. (Tried it with RDE and even the `i` was > missing in that one?) . Chris wrote the book using Ruby version 1.8.2 > and I`m using 186-26 which is probably where the fault lies anyone > suggest me where I`m going wrong please? > Thanks > Steve I don't have any idea why the 'i' fails to show unless it perhaps isn't really an 'i'. Did you cut-n-paste from somewhere else? Might there be some other character around that 'i'? -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com