mob
verb
test()
#ifinc "myfile.dm"
myProc() // Proc exists in "myfile.dm"
#else
myOtherProc() // Code exists in already included files.
#endif
It would be possible for me to keep track of included files within the code itself, but then I'd lose that lovely feeling I get knowing my code will still compile the second I uncheck a file in the file-tree.
Naturally, this little devil could also be used for files within the BYOND library bin:
mob
verb
test()
#ifinc <tiberath.myusefulbutunnecessarylib>
myProc()
#else
myOtherProc()
#endif