Logmanager documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Return

It is used as a return value from processed program.

In the example, the return block returns value of the “msg” dictionary, ie. whole structure shown in image “Result of the return block processing”.

Block XML representation

XML representation of statement_return block

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="statement_return">
    <value name="VALUE">
      <block type="variables_get">
        <field name="VAR">msg</field>
      </block>
    </value>
  </block>
</xml>

Example of visual representation

Block "Return"

Block “Return”

Example of block usage

Example of "Return" block

Example of “Return” block

Input data

Login permitted from 192.168.10.1/1234 to inside:192.168.1.1/https for user admin

Processed results

Result of the "Return" block processing

Result of the “Return” block processing