Покинул форум
Сообщений всего: 160
Дата рег-ции: Дек. 2017
Репутация: 0
Карма 0
In version 5.19, added a LOGIC BLOCK to the Visual editor of the Kibor code.
Its purpose is to make a branch in the work of the visual scheme, depending on the conditions.
Branching is possible: Line TRANSITION - if the block condition is fulfilled.
Example:
If the condition in the block
1 <5
then the control will go along the line TRANSITION
Line TRANSITION FOR WRONG - if block condition is NOT executed.
Example:
If the condition in the block
1 == 5
then the control will go along the line TRANSITION AT THE WRONG
In the Logic Block dialog box, there are two fields.
The upper serves to enter any program code that is executed BEFORE checking the condition.
The lower serves to introduce the condition itself.
The recording is of this type: 1 <8
Example input condition:
1 == 1 if 1 is 1
1!=25 if 1 is NOT 25
1 <5 if 1 is less than 5
1 == 1 && 1 <5 if 1 is 1 and 1 is less than 5
1 == 1 || 1 <5 if 1 is 1 OR 1 is less than 5
(1 == 1 || 1 <5) && (17 <= 1 || 25>=5) if (1 is 1 OR 1 is less than 5) AND (17 is less than or equal to 1 or 25 more or is equal to 5)
From the block of logic it is necessary to conduct two branches. TRANSITION AND TRANSITION AT THE WRONG
In the maximum version of Kibor, you can implement more than 3 logic blocks.
Otherwise, logic can be implemented using code blocks and goto transitions to labels.
. FORMAT CHANGED. To open old projects, you must select the Old File menu from the File menu to 5.19
Video demonstrating the application of the Logical Block.
Все гости форума могут просматривать этот раздел. Только администраторы и модераторы могут создавать новые темы в этом разделе. Только зарегистрированные пользователи могут отвечать на сообщения в этом разделе.