Hi all.
Having seen threads referring to the creation of constants and the need to 
restart for them to take effect, prompted me to consider what I’m missing.
I stopped using constants many many moons ago when they were a hassle to 
maintain. Instead, I started using IP vars.
With evidence that many 4D developers prefer Constants, I‘m looking at the pros 
and cons and feel I must be missing something.

Question:
Why use IP variables instead of Constants?

The upside:
- they are available to all 4D processes
- they are available to all deployment application options (server, standalone, 
etc)
- their value can be easily changed during development if required
    - the variable name = perhaps a better description of what the constant is 
for = use 4D’s Rename
    - the content = perhaps a better description of its use
- no restart required to test in development

The downside:
- ?
Cheers, Keith
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to