The behavior has been tightened up and the documentation
clarified. The formal argument types do -not- correspond to the actual
parameter types in any way. A single, final, multifield argument, if
present, means that the argument at this ordinal position and all
subsequent ones should be catenated into a multified and provided as a
single argument to the function. It is a "wildcard" parameter and it
allows you to have a variable-length argument list.
But as I said, this has no bearing on the actual types of the
arguments. I.e., in the following code:
(deffunction foo (?a ?b)
...)
(foo (create$ a b c) (create$ 1 2 3))
at the ellipsis, ?a is (a b c) and ?b is (1 2 3).
I think [EMAIL PROTECTED] wrote:
>
> I'm in the process of upgrading from 4.4 to 5.0 and I've run across
> the following difference between the versions that I'm not sure how to
> resolve.
>
> In the old program, I had a function of the following form:
>
> (deffunction foo (?$arg1 ?$arg2)
> ...
> )
>
> In 5.0, the parameter list has different semantics and it appears that
> only one multifield argument is permitted. Have I lost the ability to
> pass multifields as arguments like I can atomic values?
>
> --
>
> robin
> =:-{)
> University of California, Irvine
> Information and Computer Science Dept.
>
> http://www.ics.uci.edu/~burke/
>
> "The universe is made of stories, not of atoms" - Muriel Rukeyser
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list (use your own address!) List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------