-
Notifications
You must be signed in to change notification settings - Fork 2
_sender
bergsma edited this page Sep 26, 2014
·
3 revisions
#sender
###Return the sender identification from the last incoming message.
Syntax
component = sender index ;
Arguments
- int index
0 - return all components 1 - return instance component 2 - return concept component 3 - return node component
Return Value
str component
- instance#concept@node : The component(s) requested are returned.
The STATUS variable is set to $ACKNOWLEDGE
str component
- instance#concept@node : The component(s) requested are returned.
The STATUS variable is set to $ACKNOWLEDGE
Exceptions
- %ARGUMENT: Invalid arguments. Usage: component = sender index ;
Description
- None
Examples
puts {"The sender of the last message received is ",sender} ;
puts sender(1) ;
puts sender(2) ;
puts sender(3) ;
Related Links
None