|
From: <jom...@us...> - 2008-04-27 18:12:03
|
Revision: 1274
http://jason.svn.sourceforge.net/jason/?rev=1274&view=rev
Author: jomifred
Date: 2008-04-27 11:11:57 -0700 (Sun, 27 Apr 2008)
Log Message:
-----------
add comment in wait.java
Modified Paths:
--------------
trunk/src/jason/stdlib/wait.java
Modified: trunk/src/jason/stdlib/wait.java
===================================================================
--- trunk/src/jason/stdlib/wait.java 2008-04-27 18:05:25 UTC (rev 1273)
+++ trunk/src/jason/stdlib/wait.java 2008-04-27 18:11:57 UTC (rev 1274)
@@ -51,7 +51,11 @@
<p>Description: suspend the intention for the time specified by <i>T</i> (in
milliseconds) or until some event <i>E</i> happens. The events are
strings in AgentSpeak syntax, e.g. <code>"+bel(33)"</code>,
- <code>"+!go(X,Y)"</code>.
+ <code>"+!go(X,Y)"</code>.
+
+ Although the argument is a string, the variables
+ in the string will be unified with the event, i.e., the unifier have
+ values for X and Y after the execution of <code>.wait("+!go(X,Y)")</code>.
<p>Parameters:<ul>
<li><i>+ event</i> (string): the event to wait for.<br/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|