[EXTERNAL] JESS: Strange behviour of Jess

"Diego jackie" <[email protected]> Sat, 15 Sep 2012 21:37:26 +0200
Newsgroups gmane.comp.java.jess
Message-ID <[email protected]>
--_1863e125-843b-4291-bbf0-494448c4149d_
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


Hi all. I have a very peculiar issue with Jess=2C latest version.


I have a defquey is-cell-open which retrieves from a list of templates Cell=
 the ones matching the parameters given. When I call it passing the paramet=
ers as constants=2C it works=2C but when I pass them as variables it fails=
=2C albeit the variables have the same values as the parameters. Here is a =
copy-paste of the Shell. Can anyone suggest me where to start for fixing it=
?


Thank you all=2C=20


Diego
























Jess> (> (count-query-results is-cell-open (- ?startX 1) startY) 0)
FALSE

Jess> (> (count-query-results is-cell-open (- 14 1) 5) 0)
TRUE

Jess> ?startX
14
Jess> ?startY
5
 		 	   		   		 	   		  =

--_1863e125-843b-4291-bbf0-494448c4149d_
Content-Type: text/html;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
Hi all. I have a very peculiar issue with Jess=2C latest version.<br><br><b=
r>I have a defquey is-cell-open which retrieves from a list of templates Ce=
ll the ones matching the parameters given. When I call it passing the param=
eters as constants=2C it works=2C but when I pass them as variables it fail=
s=2C albeit the variables have the same values as the parameters. Here is a=
 copy-paste of the Shell. Can anyone suggest me where to start for fixing i=
t?<br><br><br>Thank you all=2C&nbsp=3B<br><br><br>Diego<br><br><br>
<div class=3D"ecx_li">
<div id=3D"ecxpagelet_dock">
<div id=3D"ecxu462tae73" class=3D"ecxfbDockWrapper ecxfixed_always ecxfbDoc=
kWrapperRight">
<div class=3D"ecxfbDock ecxclearfix">
<div class=3D"ecxclearfix ecxnubContainer ecxrNubContainer">
<div id=3D"ecxpagelet_chat">
<div id=3D"ecxfbDockChat" class=3D"ecxfbNubGroup ecxclearfix ecxfbDockChat"=
>
<div id=3D"ecxfbDockChatTabs" class=3D"ecxfbNubGroup ecxclearfix ecxvideoCa=
llEnabled">
<div class=3D"ecxfbNub ecxfbMercuryChatTab ecxuser ecxmobile ecxopened">
<div style=3D"max-height:833px" class=3D"ecxfbNubFlyout ecxfbDockChatTabFly=
out">
<div style=3D"max-height:833px" class=3D"ecxfbNubFlyoutOuter">
<div class=3D"ecxfbNubFlyoutInner">
<div style=3D"height:234px" class=3D"ecxfbNubFlyoutBody ecxscrollable">
<div class=3D"ecxfbNubFlyoutBodyContent">
<table class=3D"ecxuiGrid ecxconversationContainer" cellspacing=3D"0" cellp=
adding=3D"0">
<tbody>
<tr>
<td class=3D"ecxvBot">
<div class=3D"ecxconversation">
<div class=3D"ecxmhs ecxmbs ecxpts ecxfbChatConvItem ecxfbChatMessageGroup =
ecxclearfix small">
<div class=3D"ecxmessages">
<div class=3D"ecxfbChatMessage ecxfsm ecxdirection_ltr">Jess&gt=3B (&gt=3B =
(count-query-results is-cell-open (- ?startX 1) startY) 0)<br>FALSE<br></di=
v><div class=3D"ecxfbChatMessage ecxfsm ecxdirection_ltr"><br></div><div cl=
ass=3D"ecxfbChatMessage ecxfsm ecxdirection_ltr">Jess&gt=3B (&gt=3B (count-=
query-results is-cell-open (- 14 1) 5) 0)<br>TRUE<br></div><div class=3D"ec=
xfbChatMessage ecxfsm ecxdirection_ltr"><br></div><div class=3D"ecxfbChatMe=
ssage ecxfsm ecxdirection_ltr">Jess&gt=3B ?startX<br>14</div><div class=3D"=
ecxfbChatMessage ecxfsm ecxdirection_ltr"><br>Jess&gt=3B ?startY<br>5</div>=
</div></div></div></td></tr></tbody></table></div></div></div></div></div><=
/div></div></div></div></div></div></div></div></div><br> 		 	   		   		 	 =
  		  </div></body>
</html>=

--_1863e125-843b-4291-bbf0-494448c4149d_--