Posted By: NeoNeper
Questions about: How to create a macro function? - 10/22/13 18:38
Hello friends.
with the purpose of maintaining the proper functioning of my functions that are linked to a DLL, i need use the function "wait_for" always after performing some function of the dll.
Sample:
This Became too boring, because I need to do this many, many times throughout the script. (wait_for()...wait_for() ...)
Is there any way to create a macro linked to functions?
Whenever I call a function, it automatically performs another function in end?
with the purpose of maintaining the proper functioning of my functions that are linked to a DLL, i need use the function "wait_for" always after performing some function of the dll.
Sample:
Code:
int select = sql_select("SELECT * FROM terrains"); wait_for(sql_select); if(select) ...
This Became too boring, because I need to do this many, many times throughout the script. (wait_for()...wait_for() ...)
Is there any way to create a macro linked to functions?
Whenever I call a function, it automatically performs another function in end?