Hi
how can I read input from the keyboard into a list
Assuming that the keyboard is attached to *standard-input*
(loop with eof = (gensym)
for thing = (read *standard-input* nil eof)
until (eq thing eof)
collect thing)
Mmmmmm, tastes like ALGOL...
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 10:20:10 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
3 files (7,546K bytes) |
| Messages: | 265,185 |