Define constants without a plugin
Define constants without a plugin
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)
Significant Revisions
- May 6th, 2024 Converted to jekyll markdown format and copied to personal site
- Nov 18th, 2010 Originally published on txcowboycoder wordpress site1
Footnotes
-
Initial
md
Generated using https://github.com/jsr6720/wordpress-html-scraper-to-mdOriginal Wordpress categories: [‘Wish List’]
Original Wordpress tags: “Wish List”, “4D constants”, “plugin” ↩