Core Reference

Core Functions

Add

Calculate the addition of two or more numbers.

This node allows for an infinite number of inputs.

Inputs

  1. number (Number; Integer/Float): A number to be used in the addition.

  2. number (Number; Integer/Float): A number to be used in the addition.

Outputs

  1. output (Number; Integer/Float): The addition of all the inputs.

And

Calculate the bitwise AND of two integers or booleans.

Inputs

  1. input1 (Bitwise; Integer/Boolean): The first integer or boolean input.

  2. input2 (Bitwise; Integer/Boolean): The second integer or boolean input.

Outputs

  1. output (Bitwise; Integer/Boolean): The bitwise AND of the two inputs.

Div

Calculate the truncated division of two numbers.

Inputs

  1. dividend (Number; Integer/Float): The dividend of the division.

  2. divisor (Number; Integer/Float): The divisor of the division.

Outputs

  1. output (Integer): The dividend divided by the divisor, truncated.

Divide

Calculate the division of two numbers.

Inputs

  1. dividend (Number; Integer/Float): The dividend of the division.

  2. divisor (Number; Integer/Float): The divisor of the division.

Outputs

  1. output (Float): The dividend divided by the divisor.

Equal

Check if two values are equal.

Inputs

  1. input1 (Any; Integer/Float/String/Boolean): The first input.

  2. input2 (Any; Integer/Float/String/Boolean): The second input.

Outputs

  1. output (Boolean): True if the two inputs are equal, false otherwise.

Length

Output the number of characters in a string.

Inputs

  1. string (String): The string to get the length of.

Outputs

  1. length (Integer): The length of the input string.

LessThan

Check if one value is less than another.

Inputs

  1. input1 (Comparable; Integer/Float/String): The first input.

  2. input2 (Comparable; Integer/Float/String): The second input.

Outputs

  1. output (Boolean): True if the first input is less than the second input, false otherwise.

LessThanOrEqual

Check if one value is less than or equal to another.

Inputs

  1. input1 (Comparable; Integer/Float/String): The first input.

  2. input2 (Comparable; Integer/Float/String): The second input.

Outputs

  1. output (Boolean): True if the first input is less than or equal to the second input, false otherwise.

Mod

Calculate the remainder after division of two integers.

Inputs

  1. dividend (Integer): The dividend of the division.

  2. divisor (Integer): The divisor of the division.

Outputs

  1. output (Integer): The remainder after division of the dividend by the divisor.

MoreThan

Check if one value is more than another.

Inputs

  1. input1 (Comparable; Integer/Float/String): The first input.

  2. input2 (Comparable; Integer/Float/String): The second input.

Outputs

  1. output (Boolean): True if the first input is more than the second input, false otherwise.

MoreThanOrEqual

Check if one value is more than or equal to another.

Inputs

  1. input1 (Comparable; Integer/Float/String): The first input.

  2. input2 (Comparable; Integer/Float/String): The second input.

Outputs

  1. output (Boolean): True if the first input is more than or equal to the second input, false otherwise.

Multiply

Calculate the multiplication of two or more numbers.

This node allows for an infinite number of inputs.

Inputs

  1. number (Number; Integer/Float): A number to be used in the multiplication.

  2. number (Number; Integer/Float): A number to be used in the multiplication.

Outputs

  1. output (Number; Integer/Float): The multiplication of all the inputs.

Not

Calculate the bitwise NOT of an integer or boolean.

Inputs

  1. input (Bitwise; Integer/Boolean): The integer or boolean input.

Outputs

  1. output (Bitwise; Integer/Boolean): The bitwise NOT of the input.

NotEqual

Check if two values are not equal.

Inputs

  1. input1 (Any; Integer/Float/String/Boolean): The first input.

  2. input2 (Any; Integer/Float/String/Boolean): The second input.

Outputs

  1. output (Boolean): True if the two inputs are not equal, false otherwise.

Or

Calculate the bitwise OR of two integers or booleans.

Inputs

  1. input1 (Bitwise; Integer/Boolean): The first integer or boolean input.

  2. input2 (Bitwise; Integer/Boolean): The second integer or boolean input.

Outputs

  1. output (Bitwise; Integer/Boolean): The bitwise OR of the two inputs.

Subtract

Calculate the subtraction of two numbers.

Inputs

  1. from (Number; Integer/Float): The number to subtract from.

  2. subtract (Number; Integer/Float): How much to subtract.

Outputs

  1. output (Number; Integer/Float): The subtraction of the two inputs.

Ternary

Output one input or another, depending on a condition.

Inputs

  1. if (Boolean): The condition boolean.

  2. then (Any; Integer/Float/String/Boolean): The input to output if the condition is true.

  3. else (Any; Integer/Float/String/Boolean): The input to output if the condition is false.

Outputs

  1. output (Any; Integer/Float/String/Boolean): The selected output.

Xor

Calculate the bitwise XOR of two integers or booleans.

Inputs

  1. input1 (Bitwise; Integer/Boolean): The first integer or boolean input.

  2. input2 (Bitwise; Integer/Boolean): The second integer or boolean input.

Outputs

  1. output (Bitwise; Integer/Boolean): The bitwise XOR of the two inputs.

Core Subroutines

For

For each iteration of a numerical value, activate an execution path.

Inputs

  1. before (Execution): The for loop will start when this input is activated.

  2. start (Number; Integer/Float): The starting value of the for loop.

  3. end (Number; Integer/Float): The ending value of the for loop.

  4. step (Number; Integer/Float): The number added to the value of the for loop at the end of every loop.

Outputs

  1. loop (Execution): This output will be activated at the start of every loop.

  2. value (Number; Integer/Float): The value of the for loop.

  3. after (Execution): This output will activate when the for loop is over.

IfThen

Activate an execution path if a condition is true.

Inputs

  1. before (Execution): The node will check the boolean input when this input is activated.

  2. if (Boolean): The condition boolean.

Outputs

  1. then (Execution): This output is only activated if the condition is true.

  2. after (Execution): This output will activate after the condition has been checked.

IfThenElse

Activate an execution path if a condition is true, or another if the condition is false.

Inputs

  1. before (Execution): The node will check the boolean input when this input is activated.

  2. if (Boolean): The condition boolean.

Outputs

  1. then (Execution): This output is only activated if the condition is true.

  2. else (Execution): This output is only activated if the condition is false.

  3. after (Execution): This output will activate after the condition has been checked.

Print

Print a value to the standard output.

Set

Set the value of a variable.

Inputs

  1. variable (Name): The variable whose value to set.

  2. before (Execution): The node will set the value of the variable when this input is activated.

  3. value (Any; Integer/Float/String/Boolean): The value to set the variable to. It must be the same data type as the variable.

Outputs

  1. after (Execution): This output is activated after the variable’s value has been set.

While

Keep activating an execution path while a condition is true.

Inputs

  1. before (Execution): The while loop will start when this input is activated.

  2. condition (Boolean): The condition that needs to be met for the while loop to continue looping.

Outputs

  1. loop (Execution): This output will be activated at the start of every loop.

  2. after (Execution): This output will activate when the while loop is over.