<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Zimmermann wrote:
<blockquote cite="mid:474C3C79.5030103@incunabulum.de" type="cite">
<pre wrap="">Darko IVANCAN wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm not sure,but myList(size()==2) could work though.
Does it ?
</pre>
</blockquote>
<pre wrap=""><!---->
No, doesn't work.
My interpreation so far:
a) globals are only possible in eval() statements
</pre>
</blockquote>
they are valid in evals, inlined evals(previous called predicates),
return values, variable constraints.<br>
<blockquote cite="mid:474C3C79.5030103@incunabulum.de" type="cite">
<pre wrap="">b) access to methods of global variables are not supported.
and possibly c) only properties of globals can be accessed (not tested
as a list has no useful property imho)
Well, I can life with the eval() statements but think they are slightly
inconvenient and make the code less explicit and less readable.
cu, Michael
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>