> Can someone confirm that we cann't actually use > variables in cfswitch case values ??? I feel it is > ridiculous.. What is the reasoning behind this if it > si true?
This is how switch/case works in most compiled languages I've seen. The compiler needs to know all the possible values of the case expressions at compile time. Since CF doesn't have constants, that means you're stuck with literal values. Dave Watts, CTO, Fig Leaf Software ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4