Automation and bots

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


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

> Описание: Defines the identifier and the sequence of characters that will be replaced by the identifier (macro)
Kibor
Отправлено: 02 Февраля, 2019 - 03:51:35
Post Id



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


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




#define and #definefile directives added
The purpose is to find and replace the specified macros with the specified code.
#define - Used to specify the macro and code directly in the code itself. Replacement occurs at the preprocessor level before processing the script.
#definefile - Used to connect a file with a list of macros.
The file is not copied into the code, but the found matches are read and replaced without copying the list into the script.

Example:
All WM_COMMAND constants in the code will be replaced by the specified number 273
CODE:
#define WM_COMMAND 273



CODE:
#define frue 1
int a=1;
if (a==frue) messagebox("a==frue");
messagebox(frue);


Spaces in the macro and replace string are not allowed.
Syntax:

CODE:
#define (space) Macro (space) Substitution Characters


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

#definefile connects the file with a list of macros.
The list is as follows:

CODE:
frue 1
WM_COMMAND 273
.....


#define is not specified in the file.

Spaces in the macro and replace string are not allowed.
Syntax:

CODE:
#definefile "C:\file_macros.txt"


File resolution is not important.

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

At the moment, an internal macro list is saved in Cybour until the list file has been prepared. Then this file will replace it, which will be supplied with the program.

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

If there are duplicate macros, they are not listed again in the list, but their value changes to the last one.

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