Given your use case, why aren't you using readline() and chomp()?
On Monday, June 22, 2015 at 2:31:38 PM UTC-5, paul analyst wrote: > > I now it. But how to do the code usefull ? > > Paul > > W dniu poniedziałek, 22 czerwca 2015 20:41:23 UTC+2 użytkownik Stefan > Karpinski napisał: >> >> You're on Windows – the line end is two characters, not one, so you have >> to check for both characters: >> >> http://blog.codinghorror.com/the-great-newline-schism/ >> >> On Mon, Jun 22, 2015 at 2:37 PM, paul analyst <[email protected]> wrote: >> >>> Why ? Mayby any user can help me ? >>> Paul >>> >>> >>> W dniu poniedziałek, 22 czerwca 2015 20:34:51 UTC+2 użytkownik Stefan >>> Karpinski napisał: >>>> >>>> C'mon, please stop starting new threads about this. >>>> >>>> On Mon, Jun 22, 2015 at 2:27 PM, paul analyst <[email protected]> >>>> wrote: >>>> >>>>> in win >>>>> julia> x= read(STDIN,Char) >>>>> t >>>>> 't' >>>>> >>>>> julia> >>>>> >>>>> julia> >>>>> >>>>> julia> x >>>>> 't' >>>>> >>>>> julia> >>>>> >>>>> becose is \r and \n >>>>> >>>>> How to do correctly ? >>>>> >>>>> for i=1:10println(i)println("if number is ok press 'y' >>>>> ")read(STDIN,Char);end >>>>> >>>>> I nead to vave control the code in any steps on while . This while >>>>> jump 1 > 4 > 7 >10 :/ >>>>> How do it ? >>>>> Paul >>>>> >>>> >>>> >>
