KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: [3rd Party Tech Note] Managing Custom Constants with Code
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: June 30, 2017

Custom constants are a great way to make code easier to read, write, and maintain. In modern versions of 4D, custom constants are defined in external XML files that 4D automatically parses at startup. Unfortunately, custom constants are not universally used be 4D developers, no matter how skilled and experienced. There are a couple of barriers to entry that have scared people off from custom constants down the years, but we’re here to encourage you to take another look. This note and the accompanying code include enough tools and information to make using constants in your work easy and effective.

Download Complete Tech Note: Tech Note Document