<cfcase value="11,12,13">
<cfset num = two>
</cfcase>
Reduces redundant code. Easier to read.
-Patti
> Just out of curiosity, shouldn't the script at the top be
>
> switch(two) {
> case "11":
> case "12":
> case "13": { num = two; break; }
> default: { num = Right(num,1); break; }
> }
>
> instead of
>
> switch(two) {
> case "11": { num = two; break; }
> case "12": { num = two; break; }
> case "13": { num = two; break; }
> default: { num = Right(num,1); break; }
> }
>
>
> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2003 9:08 AM
> To: CF-Talk
> Subject: RE: Date
>
>
> I'm pretty sure there is a UDF for this at cflib.org. Yep,
> http://www.cflib.org/udf.cfm?ID=349
>
>
> _____
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

