About Codeblocks in iLogic
What's New: 2027
Codeblocks are a visual programming interface. The interface consists of a Category Toolbox with several categories containing codeblocks relevant to the category and a workspace into which codeblocks are dragged and dropped.
You use codeblocks to create codeblock stacks. Codeblocks have connections and fields. When you drag a codeblock near a connection it will highlight the insertion point and, if dropped, snaps into position.
Some codeblocks can be modified to include additional methods. The following shows how the If codeblock can be modified to become an If else codeblock or an If else else codeblock.

User Interface
Workspace
The area where codeblocks are assembled into rules. The workspace has two tabs, Rule and Options.
Rule tab

Category toolbox
Flyout Toolboxes
Work canvas - working area for assembling codeblocks.
Zoom controls - Zoom the work canvas in or out.
Fit - zooms the work canvas to display all of the codeblocks in the rule.
Trash bin - drag and drop codeblocks into the bin. Click the bin to access deleted codeblocks.
Note: If you open the bin and it covers the work canvas, expand the workspace to the left until the canvas displays, then click in the canvas to close the trash bin.Info panel
Info panel visibility - click to show or hide the info panel
Code Validation or check - click to run validation of the codeblocks in the work canvas.
Options
The Options tab has settings for the fonts used in the Codeblock interface and Generated Code.
Categories
Categories display in the left pane of the Codeblock interface. Categories contain multiple sets of codeblocks. Click a category to display the associated flyout toolbox.
Flyout Toolboxes
Flyout toolboxes contain codeblocks that are related. Drag and drop a codeblock into the work canvas to use it.
Info Panel
The Info panel displays the code associated with codeblocks placed in the work canvas, displays errors when you activate code validation, and runtime errors.
Codeblock Connections
| Connection | Purpose |
|---|---|
![]() |
Input |
![]() |
Output |
![]() |
Previous |
![]() |
Next |
Blocks
Blocks are used to program a rule. Blocks represent expressions and statements in text-based programming languages.
Shadow Blocks
Shadow blocks are editable block elements embedded in a block. These can't be moved, however, you can drag and drop non-shadow blocks on top of shadow blocks to overwrite the field with the block value.
For more information see the Blockly Visual Glossary.



