I tried that, and it may work on my windows 7 system, but may not on another system. In addition the return characters at the end of each string should be removed. I find this so uggly and error prone that I did not post this idea. Jos
> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Hendrik Boom > Sent: 06 January 2011 23:01 > To: [email protected] > Subject: Re: [racket] REPL and read-line > > On Thu, Jan 06, 2011 at 04:09:49PM -0200, Alexandre Moreira wrote: > > Hello, everyone. I'm trying to use the (read-line) function in > > racket's REPL and I'm having a weird problem. Whenever I type > > (read-line) in the REPL prompt it returns the empty string. > It's as if > > it is receiving the linefeed character I use to enter the > command on > > the REPL. > > You could try to call (read-line) twice and see if the secone > one returns what you want. This would confirm your suspicions, > > -- hendrik > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

