with-open-file

15 views
Skip to first unread message

denis.be...@gmail.com

unread,
Jun 13, 2024, 1:57:06 AMJun 13
to CLIPSESG
There's a very convenient function in Common-Lisp: "with-open file".
Could you add something similar to CLIPS, e.g. with syntax
(with-open file <file-name> <logical-name> [<mode>] [do]
     <actions>
)
It's a detail but it would allow to have better structured and safer code.

CLIPS Support

unread,
Jun 15, 2024, 1:36:10 PMJun 15
to CLIPSESG
I'll look into it.
Reply all
Reply to author
Forward
0 new messages