Liste des Groupes | Revenir à cl lisp |
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...
Date | Sujet | # | Auteur | |
30 Jun 25 | ![]() | 1 | B. Pym |
Les messages affichés proviennent d'usenet.