Re: without warning
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Apr 27, 2000
- 347 views
Hello Bernie, >The constants are local constants and are used in functions > It appears that if you define a function and you use a local constant > in it then Euphoria doesn't consider the constant to be used. > The only way to shut off the dump is to bracket the local constants > and functions that use the constants with the without/with operator. > > Why doesn't Euphoria consider a local constant as used when it is > used in a function ??? I think it does if you use the function. All that matters is whether or not the statement that uses it actually gets called. It doesn't matter how many times in the code the constant apears, if those statements aren't actually executed, it isn't actually used. A good analogy (I think) would be that if my mom packed my lunch for me (she doesn't) and put a can of V8 juice in it instead of Mt Dew. I wouldn't drink it just because it's in my lunch box (I hate V8 juice). later, Lewis Townsend PS: I'll try to stop responding to everything now, I know I've been writting a lot today. I have a bit of time on my hands. :) ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com