Naming an entry point into either an executable file OR a DLL is a matter of convention.
The PB compiler recognizes specific procedure ("function") names as the programmer's desired entry point for the module... eg PBMAIN or WINMAIN when compiling to an EXE or DLLMAIN or LIBMAIN when compiling to a DLL.
A DLL is a different animal, it requires a specific format that is defined by the operating system
While pretty much all you say is true when using POwerBASIC compilers, I'd caution you against expanding those statement as you have to state them as universal truths.
(I have a great story about that, but I'll save that for another day.)
Comment