maths bengtsson 0 Posted February 29 Is there a way to declare dbugintf .pas' in just one place instead in every units I want to use senddebug for instance 1 Share this post Link to post
dummzeuch 1509 Posted February 29 (edited) 3 hours ago, maths bengtsson said: Is there a way to declare dbugintf .pas' in just one place instead in every units I want to use senddebug for instance If by "declare" you mean "add to the uses list": No that I am aware of. In theory you could add the code into an existing unit that's already in the uses clause everywhere. You could create lightweight wrapper functions that get exported from that unit and simply call the original functions in dbugintf, thus basically redirecting the calls. Depending on what you want to do that might work for you. Edited February 29 by dummzeuch 1 Share this post Link to post