Keywords for the algorithms of User Macros

From Protoi Healing

Revision as of 17:17, 5 February 2017 by Frank (Talk | contribs)

Jump to: navigation, search
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.
IF <condition>, DO: Starts a conditional structure.
IF-ELSE DO:
IF-END
LOOP
LOOP-END
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 (or a given time) 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.
MONITOR-END
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.