curious as to how to do so at the click of a button ended the cycle. Аny
infinite loop. Looking for in a search engine, which is not working
examples ... the problem is that the program had worked at the time, it
probably makes no infinite loop, or as something else?
My program is written in Ruby in the windows, the program runs in the
console, I need to put it in a loop, but if i use key "q" loop cycle
stops.
loop do
break if ....... (key command need)
end
On Fri, Aug 9, 2013 at 8:58 AM, Tamara Temple <tamouse.lists@gmail.com>wrote:
On Aug 9, 2013, at 9:48 AM, gotostereo .. <lists@ruby-forum.com> wrote:
> input = gets.chomp
> this line pauses code
> i need as in your example, but without pause, without stop code.
>
> --
> Posted via http://www.ruby-forum.com/\.
On Fri, Aug 9, 2013 at 8:58 AM, Tamara Temple <tamouse.lists@gmail.com>wrote:
On Aug 9, 2013, at 9:48 AM, gotostereo .. <lists@ruby-forum.com> wrote:
> input = gets.chomp
> this line pauses code
> i need as in your example, but without pause, without stop code.
>
> --
> Posted via http://www.ruby-forum.com/\.