<cfscript>
    GetRandId(Parameterlist);
  </cfscript>

  Just like you would call any User Defined function inside a normal page.

At 09:01 AM 5/30/2004, you wrote:
>Subject: Confused about calling a function within a CFC
>From: "Michael Kear" <[EMAIL PROTECTED]>
>Date: Sun, 30 May 2004 18:29:31 +1000
>Thread:
>http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=32879&forumid=4#164961
>
>I'm a bit confused about how to call a function inside a CFC by anther
>function.
>
>
>
>I have a function called GETRANDID inside a cfc called utilities.cfc which
>creates a random id number.  It's access is 'Public" because I have to call
>it from several pages around the site.    Now I am building another function
>within the same CFC that does other jobs, but needs a RandomID.  I want to
>use the function GETRANDID to create the number, but how do I do it?   Every
>way I've tried gives me a very unhelpful "Page could not be displayed"
>error, which tells me I've got it wrong but not what the problem is.
>
>
>
>Can anyone tell me how, within a function called RENDERLINKS  I call the
>other function  called GETRANDID ?

>

--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
<mailto:[EMAIL PROTECTED]>
--
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
Recording Music: <http://www.fcfstudios.com>
Original Energetic Acoustic Rock: <http://www.farcryfly.com>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to