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