Where does 'DEBUG' come from?
- Posted by dcole Mar 06, 2011
- 1895 views
From the manual,
-- Example 1. -- if find("-DEBUG", command_line()) then writefln("Debug x=[], y=[]", {x,y}) end if -- Example 1. -- ifdef DEBUG then writefln("Debug x=[], y=[]", {x,y}) end ifdef
In the top example:
I see they are looking for the string "-Debug" in the command_line()
In the lower example:
What I don't understand is where did the uppercase DEBUG come from and where do we hope to find it?
Don Cole