eisental/Rubyc — Issue #8: req / query - How do we stop an endless looping script 
Author: mstram
Created: 2012-01-10 16:19:30+00:00
State: open

I haven't created one ... yet .. :)

but I just output 2500 lines using debug .... very fast !!! (well fast enough anyway) ...

def input(idx, state)

debug(idx.to_s() + ": state = '" + state.to_s() + "'" )
if idx == 0
info "(mike) idx == 0"
if state
debug "(mike) state = true"
debug "clearing"
250.times {|x|
# debug x.to_s + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345689"
debug x.to_s + ": Stuff in the chat window"
# send(idx, state)
}
# send(idx, state)
end