CLIM mail archive
[Prev][Next][Index][Thread]
accept expressions and eof
(CLIM 1.1, ACL 4.1 on SGI)
I'm modifying an existing expression using:
(clim:accept 'expression :stream stream :default default
:prompt "Modify expression "
:display-default nil
:insert-default t)
- with stream and default bound to appropriate values.
This works fine most of the time. However, if I don't type in enough right
parentheses before hitting return, it breaks with:
Error: eof encountered on stream #<EXCL::STRING-INPUT-STREAM @ #x11eef38a>
[condition type: END-OF-FILE]
My question: Is there a way to trap this error so that I can prompt the
user to correct the input by adding more right parens?
-------------
Thanks,
Carolyn Banda NASA Ames Research Center
banda@marlin.arc.nasa.gov M.S. 269-6
Phone: (415) 604-1334 Moffett Field, CA 94035
FAX: (415) 604-3323
Follow-Ups:
Main Index |
Thread Index