Thanks for the explanation.
Of course, I first tried the declaration [X,Y]::real, … but after I saw (using the debugger) that the declaration could not be processed, I opted to show @Ktedon the results I got yesterday, albeit problematic.
This morning, started the session, I got this message, that could be indicative of some code misalignment between CLP(BNR) and SWI-Prolog (currently running on Win10, I attempt to keep up-to-date running the installer every time Jan announces an update)
Welcome to SWI-Prolog (threaded, 64 bits, version 8.5.8)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.
For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).
?- use_module(library(clpBNR)).
ERROR: c:/users/carlo/appdata/local/swi-prolog/pack/clpbnr/prolog/clpbnr.pl:412:33: Syntax error: Operand expected, unquoted comma or bar found
ERROR: c:/users/carlo/appdata/local/swi-prolog/pack/clpbnr/prolog/clpbnr.pl:439:16: Syntax error: Operand expected, unquoted comma or bar found
% *** clpBNR v0.9.9alpha ***.
true.
and I can see that the ‘unquoted comma’, is there. This has been changed recently, so seems there is a simple fix, but now I cannot explain why the code was running yesterday.
Now will try to restart and consult the snippet posted above
(…suspence…)
Well, my fault, the errors were there, but exposed with a message box (I use the IDE and the development version), I (dumbly) removed the declaration from the snippet, without investigation about the cause, and since then I got the solution, I opted for showing it.
Sorry for the noise…