supplied argument?
<cffunction name="validateZip">
<cfargument name="country">
<cfargument name="zip">
<cfswitch case="#Arguments.country#">
<cfcase value="US">
<cfset validatethezip(Arguments.zip)>
</cfcase>
</cfswitch>
</cffunction>
<cffunction name="validatethezip">
<cfargument name="zip">
<cfset var something=''>
<cfset var validatethezipreturn=false>
<cfif arguments.zip is something>
<cfset validatethezipreturn=true>
</cfif>
<cfreturn validatethezipreturn>
</cffunction>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

