Declare-Filter autom. procedure declarations tool
Posted: Sat Feb 16, 2008 12:07 am
Declare-Filter is a small tool, which makes programming with the original IDE of PureBasic a little easier.
Procedures must be declared in PureBasic usually at the beginning of the main program code, where they are placed before the procedures you would like to call. When the call to a procedure is done before the actual declaring of it, the compiler gives an error message.
Now this gets more complicated when you need to call procedures from different included files, where a call to a procedure could easily be done before the actual declaring of it, and thus the compiler gives an error message.
So I wrote a small tool, which searches all of the main source code and include files for procedures, and generates a declare list that I can copy into the main source code. Or with the use of special magic words (explained on the website), in my main source the program will generate an includable file of all the declares, which can be included in the main source code.
The program can be run by itself from any directory, and can also be setup as a tool in the editor of PureBasic.
You can save much work and avoid frustration if you move procedures in huge projects. You never have to think about procedure declarations with this tool.
For further explanations and screenshots please visit the english Declare-Filter page.
A big thanks must go to the user yrreti who has done all the translation work!
Procedures must be declared in PureBasic usually at the beginning of the main program code, where they are placed before the procedures you would like to call. When the call to a procedure is done before the actual declaring of it, the compiler gives an error message.
Now this gets more complicated when you need to call procedures from different included files, where a call to a procedure could easily be done before the actual declaring of it, and thus the compiler gives an error message.
So I wrote a small tool, which searches all of the main source code and include files for procedures, and generates a declare list that I can copy into the main source code. Or with the use of special magic words (explained on the website), in my main source the program will generate an includable file of all the declares, which can be included in the main source code.
The program can be run by itself from any directory, and can also be setup as a tool in the editor of PureBasic.
You can save much work and avoid frustration if you move procedures in huge projects. You never have to think about procedure declarations with this tool.
For further explanations and screenshots please visit the english Declare-Filter page.
A big thanks must go to the user yrreti who has done all the translation work!