Difference between revisions of "Manual:DIL Manual/send done()"
Jump to navigation
Jump to search
(XML import) |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | = | + | <span id="bpsend_done"></span> |
| − | '''Function:''' | + | |
| − | send_done( c : string, a :unitptr, m : unitptr, t :unitptr, p : integer, arg : string, o : unitptr); | + | '''Function:'''</i><!--ENDCODE--> |
| + | send_done( c : string, a :unitptr, m : unitptr, t :unitptr, p : integer, arg : string, o : unitptr);</i><!--ENDCODE--> | ||
<!--TERM--> '''c''' | <!--TERM--> '''c''' | ||
| Line 19: | Line 20: | ||
| − | This sends the 'SFB_DONE' message to any dils that are waiting for it in the | + | This sends the 'SFB_DONE' message to any dils that are waiting for it in the |
| − | surrounding area and to the other pointer if not null. The following is just | + | surrounding area and to the other pointer if not null. The following is just |
| − | one example you can find many more in '''commands.zon''' | + | one example you can find many more in '''commands.zon''' |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
'''Example:''' | '''Example:''' | ||
| + | <i><!--CODE--> | ||
| + | ---~---~---~---~---~---~---~---~--- | ||
dilbegin do_read (arg:string); | dilbegin do_read (arg:string); | ||
| Line 45: | Line 41: | ||
act_str:string; | act_str:string; | ||
code | code | ||
| − | + | dilend | |
| − | + | ||
| − | + | ---~---~---~---~---~---~---~---~--- | |
| − | + | ||
| − | + | </i><!--ENDCODE--> | |
| − | + | <span id="bpsend_done"></span> | |
| − | + | ||
| − | + | '''Function:'''</i><!--ENDCODE--> | |
| − | + | send_done( c : string, a :unitptr, m : unitptr, t :unitptr, p : integer, arg : string, o : unitptr);</i><!--ENDCODE--> | |
| − | + | ||
| − | + | <!--TERM--> '''c''' | |
| − | + | <!--DEFINITION--> the command string that is sending the message | |
| − | + | <!--TERM--> '''a''' | |
| − | + | <!--DEFINITION--> the unitptr (activator) that activated the message | |
| − | + | <!--TERM--> '''m''' | |
| − | + | <!--DEFINITION--> the unitptr (medium) that the Dil is acting through | |
| − | + | <!--TERM--> '''t''' | |
| − | + | <!--DEFINITION--> the unitptr (target) the Dil is acting on | |
| − | + | <!--TERM--> '''p''' | |
| − | + | <!--DEFINITION--> the power of the message | |
| − | + | <!--TERM--> '''arg''' | |
| − | + | <!--DEFINITION--> the argument sent with the message | |
| − | + | <!--TERM--> '''o''' | |
| − | + | <!--DEFINITION--> the unitptr (other) you also want the message to go to | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | This sends the 'SFB_DONE' message to any dils that are waiting for it in the | |
| − | + | surrounding area and to the other pointer if not null. The following is just | |
| − | + | one example you can find many more in '''commands.zon''' | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | '''Example:''' | |
| − | + | <i><!--CODE--> | |
| − | + | ---~---~---~---~---~---~---~---~--- | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | dilbegin do_read (arg:string); | |
| − | + | var | |
| − | + | brdname:string; | |
| − | + | i:integer; | |
| − | + | u:unitptr; | |
| − | + | x:extraptr; | |
| − | + | ln:integer; | |
| + | temp:string; | ||
| + | templist:stringlist; | ||
| + | buff:string; | ||
| + | f_name:string; | ||
| + | act_str:string; | ||
| + | code | ||
| + | dilend | ||
| − | + | ---~---~---~---~---~---~---~---~--- | |
| − | + | </i><!--ENDCODE--> | |
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 22:36, 4 December 2025
Function: send_done( c : string, a :unitptr, m : unitptr, t :unitptr, p : integer, arg : string, o : unitptr);
c
the command string that is sending the message
a
the unitptr (activator) that activated the message
m
the unitptr (medium) that the Dil is acting through
t
the unitptr (target) the Dil is acting on
p
the power of the message
arg
the argument sent with the message
o
the unitptr (other) you also want the message to go to
This sends the 'SFB_DONE' message to any dils that are waiting for it in the surrounding area and to the other pointer if not null. The following is just one example you can find many more in commands.zon
Example: ---~---~---~---~---~---~---~---~---
dilbegin do_read (arg:string);
var
brdname:string;
i:integer;
u:unitptr;
x:extraptr;
ln:integer;
temp:string;
templist:stringlist;
buff:string;
f_name:string;
act_str:string;
code
dilend
---~---~---~---~---~---~---~---~---
Function: send_done( c : string, a :unitptr, m : unitptr, t :unitptr, p : integer, arg : string, o : unitptr);
c
the command string that is sending the message
a
the unitptr (activator) that activated the message
m
the unitptr (medium) that the Dil is acting through
t
the unitptr (target) the Dil is acting on
p
the power of the message
arg
the argument sent with the message
o
the unitptr (other) you also want the message to go to
This sends the 'SFB_DONE' message to any dils that are waiting for it in the surrounding area and to the other pointer if not null. The following is just one example you can find many more in commands.zon
Example: ---~---~---~---~---~---~---~---~---
dilbegin do_read (arg:string);
var
brdname:string;
i:integer;
u:unitptr;
x:extraptr;
ln:integer;
temp:string;
templist:stringlist;
buff:string;
f_name:string;
act_str:string;
code
dilend
---~---~---~---~---~---~---~---~---