The bload command failes during restoring a defglobal.

18 views
Skip to first unread message

yoshiaki

unread,
Sep 27, 2026, 12:09:27 AM (6 days ago) Sep 27
to CLIPSESG
Hello,
Batching bloadtest.tst reports an error, and prints erroneous value 'FALSE'.

$ ./clips -f bloadtest.tst
         CLIPS (6.4.3 11/11/25)
CLIPS> (load bloadtest.clp)
+::+:
TRUE
CLIPS> (bsave bloadtest.bin)
TRUE
CLIPS> (clear)
CLIPS> (bload bloadtest.bin)
[ARGACCES2] Function '*' expected argument #1 to be of type integer or float.
TRUE
CLIPS> ?*cells*
FALSE

I guess the bload restores the defglobal ?*cells* at first,
 even though the other arguing defglobals are not restored yet.

How should I modify the program to execute the bload successfully ?
bloadtest.clp
bloadtest.tst

CLIPS Support

unread,
Sep 28, 2026, 6:46:18 PM (4 days ago) Sep 28
to CLIPSESG
I'll look into it.
Reply all
Reply to author
Forward
0 new messages