for (;;) { var input:String = readLine(); if (input == 'quit') { break; } else { trace('You say: ' + input); } }