Difference between revisions of "SkibUserMacros:Keywords for the algorithms of User Macros"

From Protoi Healing

Jump to: navigation, search
Line 8: Line 8:
 
|style="vertical-align:top; "|'''EXIT'''
 
|style="vertical-align:top; "|'''EXIT'''
 
|It will stop the execution of the UserMacro immediately.
 
|It will stop the execution of the UserMacro immediately.
 +
|-
 +
|style="vertical-align:top; "|'''MONITOR'''
 +
|This orders the Skib to install some monitoring for a topic. This means, that some other AI(s) will get the order from Skib to 24/7 monitor a topic, and to send a signal, if some of the defined conditions take place. So this means, that Skib gets always an impulse to start the defined action, whenever it occurs. This may be with seconds in between, but also hours, days or more. Skib will always only have work with it, if something happens, that match the defined conditions.
 
|-
 
|-
 
|style="vertical-align:top; "|'''TRY'''
 
|style="vertical-align:top; "|'''TRY'''

Revision as of 16:15, 5 February 2017

Keyword Description
BREAK Gets out of the current structure level. For example if you are in a LOOP, it will stop and leave the LOOP immediately and continue with the algorithm after the LOOP.
EXIT It will stop the execution of the UserMacro immediately.
MONITOR This orders the Skib to install some monitoring for a topic. This means, that some other AI(s) will get the order from Skib to 24/7 monitor a topic, and to send a signal, if some of the defined conditions take place. So this means, that Skib gets always an impulse to start the defined action, whenever it occurs. This may be with seconds in between, but also hours, days or more. Skib will always only have work with it, if something happens, that match the defined conditions.
TRY Skib will try to do whatever follows this TRY. Skib will continue the execution of the algorithm independent of the success.
TRY-ERROR If the belonging earlier TRY was not successful, Skib will execute whatever follows TRY-ERROR. If this is done and not order to finish the algorithm is given, Skib will continue the algorithm at next order.