That's not describing the problem. It's describing a solution. Why do you need constants?
Why do you need them to be in a class/cfc? Why do you not want the public to be able to modify any data and who do you define as the public? Why do you need to be able to loop over the constants? Spike Taco Fleur wrote: > The problem: > > I need a class that represents constants > I don't want the public to be able to modify any data > I need to be able to loop over the constants easily > > Basically quoting what problems the pattern solves.. > > -- -------------------------------------------- Stephen Milligan Code poet for hire http://www.spike.org.uk Do you cfeclipse? http://cfeclipse.tigris.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189201 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

