Search found 3 matches
- Fri Sep 17, 2010 10:17 pm
- Forum: Common Lisp
- Topic: Simple question about (format)
- Replies: 4
- Views: 3702
Re: Simple question about (format)
Okay, I feel really foolish. The (print) statement... yeah... Case closed, sorry everybody *facepalm*
- Thu Sep 16, 2010 8:09 pm
- Forum: Common Lisp
- Topic: Simple question about (format)
- Replies: 4
- Views: 3702
Re: Simple question about (format)
I see how your program works, and I'll modify mine to be more like that, perhaps having the user enter symbols instead of functions. Here's my code in case you're curious though. "phrases.txt" is one big long parenthesized list of sayings. (progn (setq list (read (open "phrases.txt&qu...
- Thu Sep 16, 2010 6:19 pm
- Forum: Common Lisp
- Topic: Simple question about (format)
- Replies: 4
- Views: 3702
Simple question about (format)
Hello all, I'm trying to write a simple program, but I can't seem to get around the fact that (format) returns NIL. Therefore my program output always looks like this: Welcome. Please enter your name. NILwinifred ...as opposed to what I'd like, which is this: Welcome. Please enter your name. winifre...