Pascal Modular-Programming
Pascal Modular-Programming
(OP)
In C and C++, it is done by declaring the functions in a header file and #includeing <HEADERNAME.H>.
But, while learning Pascal, I couldnot find any guide and or reference on Modular Programming.
And, I've been using {$INCLUDE SOURCEFILE.PAS}.
What are the other methods of Modular Programming in Pascal?
I'm using FreePascal. And, the other problem is: I've seen People use the term DLLProc as an alternative to DllMain in Delphi. Are there no other methods that I can simple make my own DllMain function with (HINSTANCE, DWORD, LPVOID) ? Do I only have begin ... end. ?
Thanks
But, while learning Pascal, I couldnot find any guide and or reference on Modular Programming.
And, I've been using {$INCLUDE SOURCEFILE.PAS}.
What are the other methods of Modular Programming in Pascal?
I'm using FreePascal. And, the other problem is: I've seen People use the term DLLProc as an alternative to DllMain in Delphi. Are there no other methods that I can simple make my own DllMain function with (HINSTANCE, DWORD, LPVOID) ? Do I only have begin ... end. ?
Thanks
RE: Pascal Modular-Programming
Applies to Pascal, Free Pascal, and everything else including Delphi.
It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
RE: Pascal Modular-Programming
http://wiki.freepascal.org/Unit
http://