Re: Where does 'DEBUG' come from?

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcole said...

From the manual,

-- Example 1. -- 
ifdef DEBUG then 
    writefln("Debug x=[], y=[]", {x,y}) 
end ifdef 

What I don't understand is where did the uppercase DEBUG come from and where do we hope to find it?

It comes from the Euphoria command line (or a eu.cfg) file.

e.g.

eui -D DEBUG myprog.ex 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu