SMAS 2.0bA Primer |
4. The Factorial Example (SC-2)
SC-2 shows how to ask the PROXY agent to ask the FACTORIAL agent to compute 5! Using its DUMB-FACTORIAL skill (i.e., always asking MUL-1 to do the multiplies).:
Nothing special. Note the message indicating that the PROXY agent received the answer, just before the PROXY returns its answer to the user.
Copyrignt Jean-Paul Barthès@UTC, 1998 Last update, Jan 99