Finalization of the Visual Editor.
The format was changed. To open the old format, choose FILE - OPEN UPPER UP TO 5.21 (If the project is saved in 5.20 or 5.19)
OR OPEN UPPER VERSION UP TO 5.19 (If the project is saved to 5.19)
1 ) Finished getting the pointer in the background. You can select WINDOW - CONTROL
================================================== ===========
2 ) Added a separate tick that allows you to hide the text in Blocks of code. Whatever interfered.
================================================== ===========
3 ) Implemented the ability to pass parameters to the function.
A corresponding field appeared in the properties dialog box of the function block.
What is it and why should it ..
Example:
CODE: int s;
s=symma (5, 2); // Call the function to add two numbers.
// In the form of parameters we pass to it 2 numbers of type int
// the function returns a sum and writes it to the variable s
messagebox (s);
// function takes as parameters 2 integers of type int
function symma (int a, int b)
{
return a + b; // Use the return operator to return the sum of the received numbers
}
How to implement it in a visual editor:
We declare the variable s of the type int in the Start block.
Create a block of code in which we write
CODE: s=symma (5, 2); // Call the function to add two numbers.
// In the form of parameters we pass to it 2 numbers of type int
// the function returns a sum and writes it to the variable s
messagebox (s);
Create a symma function. We specify in the parameter field
In the function block, create a block of code and assign it to it
Attention! The variables declared in the function parameters or in the code block in the function are visible only in this function.
Therefore, they can have the same names in different functions and a block of code and be different in this case.
----- The Visual Code Editor is Kibor. Creating bots without knowledge of programming.
Learning function for recognizing text.
----- |