Automation and bots

 Помощь      Поиск      Пользователи


 Страниц (1): [1]   

> Без описания
Kibor
Отправлено: 24 Июля, 2018 - 03:59:08
Post Id



Администратор
Full Member


Покинул форум
Сообщений всего: 160
Дата рег-ции: Дек. 2017  
Репутация: 0
Карма 0




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
CODE:
int a, int b


In the function block, create a block of code and assign it to it
CODE:
return a + b;


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.
-----
 
 Top
Страниц (1): [1]
Сейчас эту тему просматривают: 1 (гостей: 1, зарегистрированных: 0)
« About Kibor »


Все гости форума могут просматривать этот раздел.
Только администраторы и модераторы могут создавать новые темы в этом разделе.
Только зарегистрированные пользователи могут отвечать на сообщения в этом разделе.
 




Powered by