D
draq
I have written a small script with a while-loop and tried to execute it
in RDE. But the console shows nothing but only "[EOF]" and it is dark
grey. I have to stop it manually.
The script is like this:
while true
print "Input: "
input = gets.chop
case input
when "exit" then break
when "calc" then calc
else puts "Input is invalid!"
end
end
In DOS it works well. Does anyone know the problem?
in RDE. But the console shows nothing but only "[EOF]" and it is dark
grey. I have to stop it manually.
The script is like this:
while true
print "Input: "
input = gets.chop
case input
when "exit" then break
when "calc" then calc
else puts "Input is invalid!"
end
end
In DOS it works well. Does anyone know the problem?