Automation and bots

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


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

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



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


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




Finalization of the engine.
Kibor began to work at least five times faster.
This is especially noticeable on large scripts. The faster the work, the larger the size of the script.
But even such a small cycle
 Цитата:
int t=gettime ();
int u;
for (int y=0; y <10000; y ++)
{
u ++;
}
messagebox (gettime () - t);

runs several times faster than in previous versions ..

Also added manual control of the allocated memory for the broadcast.
If the script is large and Kibor broadcasts the script for a long time, it is possible to avoid this by constantly going into the settings - broadcasting and specifying the required amount in the field (allocating memory at startup) and restarting the Kibor.
Optimal allocation will be when the translation Kibor will not increase the consumed memory. You can see by going to the task manager. When working with small scripts, the forced allocation of memory can be reduced again.
This setting does not affect the assembled exe. In them, memory is allocated automatically the right size.

================================================== =====

Added the function dir
Displays the names of all the folders and / or files in the specified folder.

Output of all folders and files in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0]);
for (int n=0; n {
messagebox (s [n]);
}


Output of all folders in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0], "folder");
for (int n=0; n {
messagebox (s [n]);

}



Output of all files in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0], "file");
for (int n=0; n {
messagebox (s [n]);

}


Output of all .txt files in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0], "file", "txt");
for (int n=0; n {
messagebox (s [n]);

}


Returns the number of found objects or -1 if the string array is less than the number of objects found

-----
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