User Tools

Site Tools


logic_scripting

This is an old revision of the document!


Logic scripting

You must have the 'vr_logic_lib' loaded for columns named 'IF Logic' and 'SET Logic' to work.

IF Logic

The text in an IF Logic column is checked and returns either TRUE or FALSE. If FALSE it will block the execution of the row.

SET Logic

Sets some variable or something else.

Syntax

Variables (aka Flag Instructions)

You can use SET Logic to set a variable like this: 'MY_VAR=100'. Specifying a variable not yet created also will create it.

You can read a variable in IF Logic like this 'MY_VAR<100' for example. If you are IF checking a variable not yet defined it will have value 0.

Syntax examples

logic_scripting.1636624811.txt.gz · Last modified: by vic

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki