chdir in 6.4

27 views
Skip to first unread message

denis.be...@gmail.com

unread,
May 4, 2021, 2:39:00 AM5/4/21
to CLIPSESG
It was a very good idea to introduce function "chdir" in version 6.4. I wonder why it returns TRUE instead of the path to the new dir.
It would be nice also to have a similar function "dir" or "pwd".

CLIPS Support

unread,
May 4, 2021, 1:25:43 PM5/4/21
to CLIPSESG
The CLIPS chdir function uses the ANSI C chdir library function which returns just an error code. You can use the CLIPS system function to pass commands to the operating system (e.g. (system "pwd")).
Reply all
Reply to author
Forward
0 new messages