Search found 2 matches

by igro
Sun Nov 21, 2010 5:04 pm
Forum: Common Lisp
Topic: sbcl vs clisp
Replies: 2
Views: 4536

Re: sbcl vs clisp

Ramarren wrote:Output buffering. On your system apparently CLISP output is not buffered, but SBCL output is line buffered, so it happens only when a newline occurs. Use FINISH-OUTPUT to guarantee that output was done and finished before progressing in the program.
Thank you. That helped :)
by igro
Sun Nov 21, 2010 2:02 pm
Forum: Common Lisp
Topic: sbcl vs clisp
Replies: 2
Views: 4536

sbcl vs clisp

Hi! My problem is that the code below behaves differently in sbcl and clisp (defun say-hello () (princ "Please type your name:") (let ((name (read-line))) (princ "Nice to meet you, ") (princ name))) In clisp i'm first prompted with "Please enter your name:" [2]> (say-he...