bug in get_key()
- Posted by Kat <gertie at PELL.NET> Jun 10, 2001
- 358 views
hi all,, in this code: char = get_key() if (char = 'Q') then SendToServer(sock_connect[2],"QUIT :"&my_nick&" is done testing") puts(1,"you did a 'Q'uit\n") puts(logfile,"you did a 'Q'uit\n") flush(logfile) exit end if there is a hang at get_key(),, and i didn't know there would be one, i thought it would return -1 if there was no key. Kat