On Jan 25, 2007, at 4:45 PM, Carlos M wrote:
Thanks Joe, Johnathan and Craig.
3. Properties and constants on modules
Not included. (As Joe pointed out, Constants aren't really relevant)
Sorry if I wasn't clear, but I was referring to constants that we
add to a
module (via the "Add Constant") not the ones declared on code. I
have some util
modules where I have string Constants with some text and in some
apps they are
never used, so I was wondering if they are included on compiled
apps or not.
If the answer is the same, why aren't they relevant?
Constants are evaluated at compile time, and any references to a
constant are "inlined." If you have an integer constant, the code
doesn't reference a global integer, but the value is used inline.
The net effect is that if they aren't used, they aren't included.
HTH,
Jon
--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.
REAL World 2007 Conference
May 9 - 11 in Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>