Hi All. I'm having an issue with (read-line). Below is some output from running the attached rkt file on my system(Ubuntu 10.10, Racket 5.0.2). In the first instance the script runs, and as I expect I can enter a string such as "Hello". When I use the repl it does not work like I expect it to, and I don't get a chance to enter a string. Any ideas? I thought about flushing/discarding data from the input port before calling (read-line), but I only found a function for flushing an output port.
Thanks! bash$ racket -l scheme -t "read-test.rkt" -e "(read-input)" Enter a string: Hello "Hello" bash$ racket Welcome to Racket v5.0.2. > (require "read-test.rkt") > (read-input) Enter a string: "" > - Bill
read-test.rkt
Description: Binary data
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users