Posts Tagged ‘4D constants’

Would be nice if there were a way to define constants for use in 4D without creating a plugin. There is an outstanding feature request for this already.

Logically I would think defining them in the On Server Startup database method would be a good place for them. Or having it as part of the explorer menu options.

Code could look like this if defined programatically:

` we want a constant for use throughout 4D
C_{datatype}_CONSTANT("Constant name";value)

Read Full Post »

%d bloggers like this: