Status/Resolution/Reason: Closed/Deferred/EnhancementRequired
Reporter/Name(from Bugbase): Stéphane Chauvin / Stéphane Chauvin (Stéphane Chauvin)
Created: 05/23/2012
Components: Language
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 6
It would be great if we could declare constants in Coldfusion, as it is available in Java or ActionScript.
It would actually be helpfull in many situations, first of all obviously to be sure that a constant (for now declared as a coldfusion variable) is not modified somewhere in the code of a coldfusion application.
Another example: the use of litteral values is today mandatory with cfswitch / cfcase... It would be great to be able to use named constants here.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3197154
External Customer Info:
External Company:
External Customer Name: Stephane Chauvin
External Customer Email:
Attachments:
Comments: