Skip to main content
September 3, 2008
Question

fuction

  • September 3, 2008
  • 3 replies
  • 499 views
i need example where main function call sub fuction. i couldn't find any examples. thanks
    This topic has been closed for replies.

    3 replies

    Inspiring
    September 4, 2008
    x = myfunction();
    y= my_function_that_takes_arguments(1,2);
    z= my_function_that_takes_arguments(arg=1, arg2=3);
    Inspiring
    September 3, 2008
    first <include> the file with your functions, then you can call it as example like this:

    <cfinvoke method="taxonomy_query"
    query="taxonomy_this_product"
    filter="tax_group='product' AND tax_PK=#product#"
    sort="tax_sort"
    >
    cheers,
    fober
    Inspiring
    September 3, 2008
    The syntax for calling a function is the same no matter where you call it from.
    September 4, 2008
    Dan, Can you provide me any example like that.