• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cfreturn

Synopsis

[<cfcomponent>]
  <cffunction>
  ...
  <cfreturn>
  </cffunction>
[<cfcomponent>]

Returns an evaluated expression or variable from a tag-based user-defined function or ColdFusion Component (CFC) method. This tag provides the same functionality as the Return statement in CFScript-based UDFs. Only one cfreturn tag may be used per function.

Attribute

expression

Expression to evaluate and return. Any valid ColdFusion expression may be used (evaluated expression, variable name, string or numeric literal, etc.). Required.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint