Ray forgive me for being dense this morning. What did I do wrong below?
<cffunction name="isValueInteger" access="public" returntype="any">
<cfargument name="theValue" required="yes" type="any">
<cfset var isValueInteger=isInteger(Argument.theValue)>
<cfset var isValueIntegerReturn=createObject('component',
'components.factory')>
<cfreturn isValueIntegerReturn>
</cffunction>
<cffunction name="insertValues" access="public" returntype="boolean">
<cfargument name="theValue" required="yes"
type="isValueInteger">
<cfset var insertValuesReturn=true>
<cfreturn insertValuesReturn>
</cffunction>
<cfoutput>#insertValues('fred')#</cfoutput>
<cfoutput>#insertValues(1)#</cfoutput>
Both return not of type isValueInteger.
P.S. These functions are both in the factory CFC.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]